Automatic Door Locks:
The vehicle is programmed so that when the doors are closed, the ignition is on, and the shift lever is moved out of P (Park) for automatic transmissions, or when vehicle speed becomes faster than 13 km/h (8 mph) for manual transmissions, both doors will lock.
Use the power door unlock switch to unlock the door when the vehicle is not in P (Park). When the door is closed again, the doors will lock either when your foot is removed from the brake or the vehicle speed becomes faster than 13 km/h (8 mph).
Automatic Door Unlock:
The vehicle is programmed so that when the shift lever is moved into P (Park) for automatic transmission vehicles or when the ignition is turned off or is in Retained Accessory Power (RAP) for manual transmission vehicles, both doors will unlock.
With the vehicle stopped and the engine running, door unlocking can be programmed through the Driver Information Center (DIC). This allows the driver to choose various unlock settings.
If you want to change any of these, I think the settings are in Vehicle Settings in the config/settings menu.