In the model s if you leave the key fob inside the vehicle and step out, after thirty seconds the door handles retract and you can't get into the vehicle.
Let's say for instance you are in your car and you realized you forgot your wallet. You step out and your key fob and phone are in the car...