my door locks lock when I start driving but don't unlock when I put into park

on 2003 Dodge Dakota

the drivers door unlocks to get out but only because I pull the handle inside to open.what do I replace?

Asked by for the 2003 Dodge Dakota
Check owners manual for programming options for the 'auto-lock/unlock feature , or check with dealer.