Heres my idea for locked doors. You place an iron door down, and 2 blocks below it, put colored wool. If an iron door has colored wool below it, the only way to open it is by right-clicking on it with that same type of wool. This would be simple and easy to use.