The basement door to the Pissing Crone can only be locked from one side as far as I can tell. When it is locked from the inside, people inside cannot leave without a key, but people outside can walk right in.
Basement door
Locking mechanism fixed as of v645.