Key's in the book. one you get that you can open the door from either side. As for the puzzle, you need the lighter and to click the candles in a specific order (floor in front of the book has the answer)