I use to click lock twice to shut off the headlight, I had the dealer change the setting so the headlight shuts off when I open the driver door with car off.
The auto 30 second lock only works if you unlock the and do not open the door for 30 seconds, it will lock itself. If you are driving and exit and turn off the car, it will not lock itself.