Incase anyone's stuck at the safe part, where you need to figure out the code:
It's in the library at the diary. A specific joyous day in winter: type in a few days around christmas! (code: 2612)