Tesla Mobile Experience
In June 2018 I parked my Model X to charge it and as I went to unlock the charger, the doors and charge port closed and locked. The key fob died entirely so the vehicle assumed nobody was present. This is usually not a problem because you can use the mobile app to unlock the vehicle, but my phone was also inside on the charger. The other thing that was inside the vehicle was my 18 month old son.
At this point, I ran around the vehicle trying to unlock all of the doors. Thankfully, I have a second work phone and I was able to call Tesla to remotely unlock my vehicle. I later learned that there is passive access if your key dies at the base of the driver side B-pillar. After calling Tesla, I called my wife and told her our son was locked in the vehicle and I was waiting on a call back from Tesla.
Funny enough, my son thought I was playing a game by running around the vehicle...