GM Service Manual Online
For 1990-2009 cars only

This feature protects you from locking the key in the vehicle when the key is in the ignition and a door is open.

If the power lock switch is pressed when either the driver, passenger, or rear door is open, all the doors will lock and then the driver door will unlock. This feature does not include the side cargo door.