There is a button inside the car to lock the doors. At least there was on my Leaf 24 & 40 ones.We have had a Leaf for the last four years and when rapid charging I sit in the car and do a crossword for 30 minutes. The MG (I think) stops charging if the doors are unlocked. The Leaf can not be locked if the keys are inside. .