Some modern vehicles with intelligent charging systems automatically go into sleep mode, and as perform a staged shutdown based upon time.... Quite how much if any requirement for the locking system might logically play a part in the timed phase or not... I have no idea. My 2012 ICE car automatically locks it`s self after a specific length of time has passed.
I guess one of the issues with digital programming is that it can be configured in so many different way and in some cases human logic seems not to apply and it seems we are not supposed to ask why..? That is when they tend to apply the intellectual copyright excuse inhibiting them form educating us mere mortals...?
A bit of a Luddite rant... !