I have a 54 plate 320d. As normal with a car this old, the batteries are flat in the key fobs, so the only way to lock the doors is with the key.
But the problem with this is, I have to physically lock the door 9 times for the doors to stay locked, it's always 9 times which I guess this maybe some form of code for a fault??
The central locking button inside the car works fine.