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)
can you tell me please I think mine is glitched i want to be sure. I did it and then my file got deleted and now it doesn't work.