There are door lock actuators in each door that have little electric motors that lock and unlock the doors when activated with the switch. My guess is the wiring or the motor is bad in the passenger door.