I've not only done that but done it with the car running!!!
I had an old chevy that if you turned if off, you couldn't start it again for half an hour. Went to the post office one day "just for a minute" so left the car running. Locked the door so no one would steal that "gem" of a vehicle!
OOPS! Good thing Dad was home and had an extra key.