Reporting a bug:
If you find this setup and click in the door stuff without a key, the rat retreats to the normal stair icon, wich gets unclickable and you get permanently locked. The setup in question is Stairs -> Door -> Stairs