I've often wondered how this is done on other cars without key locks, or when people only have FOBS. (What if the FOB died?). If power dies and the doors are locked, how do people get in with other cars? This is not unique to the Model S. maybe the fail-safe, no-power position is unlocked/extended?
It's no big deal. There is a mechanical key hidden in the fob of the Prius which allows you to open the door. You can put the fob in the slot to activate the car. I'm sure Tesla has a similar system.