Minecraft wiki entry for Secret_door, associated text: The lectern can be used to open a door when a written book with the correct number of pages is placed on it and turned to the proper page. This is similar to the jukebox trigger.