When I first got my Leaf (2018), I had this problem too, and I did walk away a few times. What I learned was that since the doors lock once you start driving, and don’t unlock until you turn it off, once I got to my destination, the locked doors prevented me from leaving while the car was on...