Check your locked door is a "locked door" collision type tile? (when you mouse over the tile, in the screen, its collision type is shown on the top of the screen) You can change it with a right-click and modify attribute.