Hi David, the vehicle is designed to relock itself if the unlock button is pressed on the key fob and a door is not opened within 1 minute. This is designed this way to prevent the car being left unlocked if the key remote is pressed by accident.
If any door is opened within this time period then this function is deactivated and the vehicle is not relocked.
The location of the keys is not relevent
Best regards, Paul