Your vehicle was programmed at the factory to unlock when the shift lever is moved to P (Park).
You can change the settings of the programmable automatic door unlock feature through the Driver Information Center (DIC). See DIC Vehicle Personalization.