I would open the window and close the door, then press the button twice, see if it you can actually open the door
if it doesn't deadlock then it's a fault in the central locking, probably the drivers door locking mechanism, I had to replace one on a vec I used to own
cost about £50 from the dealers for the complete unit