This feature stops the power door locks from locking when the key is in the ignition and a door is open to protect you from locking your key in the vehicle.
If the power lock switch is pressed when a door is open and the key is in the ignition, all the doors will lock and then the driver's door will unlock.