I have a 1999 ford focus and the central locking wont work. Now the lock on the drivers door wont unlock when you insert the key in but will lock it.

do i need a new lock or is it a spring or something like that?