How so? The only time you use the lock, you are leaving or entering, and the key forces you to lock the door in order to retrieve the key on the other side.
It would be be better if once I unlock it, the key gets pushed by some mechanical spring, instead of me manually having to push it from the unlocking side to get it on the locking side.