Minecraft wiki entry for Advanced_redstone_circuits, associated text: In theory, you can program the lock from this serial interface as well. Just attach 4 RS NOR latches and a hidden place for the programming levers.