might want to just check 100%
one push drivers door unlocks
two pushes the rest unlock
once you've got all the doors unlocked (use switch on dash if you have to) then
one push, all doors should lock.
if the passenger locks but won't unlock, usually failed solenoid in lock assembly, simpler to just replace whole thing.
tailgate is a different arrangement. sometimes, the lock mech gets out of synch, you can check this with the tailgate open and turning the lock mech over with a screwdriver, first one notch then two. don't forget to operate the handle to reset it before trying to close it.
good luck