Cute game and nice idea with the locked door, I thought I had to go back to the beginning to count all of the candles, stars and books, but by the comments it seems it was easier than that!
I would try to improve the controls a little bit, it's kinda hard to get the timing right in a few places. Also maybe you noticed, maybe you not, but I think you forgot to normalize the diagonal input, at the moment if it moves diagonally the ghost is faster than just moving horizontally or vertically.