I have my MS set to lock when I walk away from the vehicle. Each night in my garage, when I plug my in MS, I walk behind it to get the charging cord hanging on the wall. Before I can plug it in the car locks. Even if I open the charge door when I walk by, the car shuts the door and locks before I can plug it in. I have learned that if I leave the driver door open it will not lock so I have time to get the car plugged in. This seems like an extra step to override an otherwise useful feature. I suggest that Tesla change the locking procedure so that the charging door stays unlocked for a few minutes after the rest of the car locks. Access to the charging door does not materially change the safety of the car being locked. I am sure that the charging door lock is a separate element that could be delayed through programming. It is these small things that make the MS seem even smarter.