Well i found a Youtube video where a guy suggested if your door lock stopped working, to lift and drop the pop up thing at the top of the door casing rapidly, over about 20 or 25 cycles, and it should then work again. I was very sceptical of this, but thought I'd try it as no tools required!!
Initially it seemed to have done nothing, but on the two days since then, it has locked and unlocked as normal every timr. So I assume it has cleared whatever was causing the lock to stick?