LINCOLN — A 27-year-old California man has been sentenced to more than five years in federal prison for a scheme to steal from Walmart stores across the country using a cash register master key.