Door doesnt lock

Did the key work before?

Does the key turn the lock both directions?