I solved the "unlock from inside" problem like this: [image|2473479] For the latch bolt to make contact before the dead bolt.
open