If it doesnt unlock the fob is your problem.
Nissan xterra doors lock themselves.
The car unlocks by itself if you leave the key in the ignition and you try and lock the doors.
If it does its somewhere in the door.
Click to see more.
All doors will lock automatically within 5 minutes unless one of the following operations is performed.
The alarm self arms therefore after a certain amount of time leaving the truck unlocked it will lock all the doors and arm the alarm system.
When you open the door it auto unlocks.
Whether it is in the fob or the lock itself is what you need to figure out.
The other thing that can happen is if you hit the unlock key after the doors are closed and don t open a door again with in 60 seconds the doors will lock.
If you hit the lock button on the fob while any door is open the doors will lock however the horn will not chirp.
Also if you get some water into the lock switch on the door that can cause it to malfunction as well.
Try and lock the doors without the key in the ignition and see what happens.
If a door isn t fully closed or the sensor goes the car thinks you re constantly closing and opening the doors.
Any door is opened a key is inserted into the ignition switch and the key is turned from off to on i wasn t opening the door.
This is a new one good luck.
When you close the door because you re driving it auto locks the door.