It is unlawful to commit several crimes.
Steve is at a convenient mart when he notices the only employee on duty is in the restroom.
Steve wants something cheap to eat.
Steve waits for the store's attendant to return from the restroom then lawfully purchases a sandwich and chips.
Steve takes a sandwich and drink from the store without paying and then decides to take a ride in a car that is idling nearby.
The attendant thanks Steve for waiting and gives him a discount on the purchase.
Steve is caught by the police and is sentenced to a serve a year in prison.