I have a door-locking problem in my 2007 Ford Territory SR.
Any time an Australian-made Ford of this vintage has a problem with its door locks, suspicions will turn to the car’s body computer. This is a known fault in these vehicles and will probably require a new body computer as well as somebody who knows what they’re doing to fit it.
The body computer controls all sorts of functions including the wipers, light, security system, climate control, entertainment system, and the central locking.
But before you book the car in to the auto electrician, try this: Disconnect the battery and leave it overnight. Next morning, reconnect the battery and see if that has sorted the problem. In some cases, this will reset the computer (kind of like a return to factory settings function) and the car will work properly again. Sometimes it works, sometimes it doesn’t and the results aren’t always permanent. But it’s free and definitely worth a try.