You can find the code for the room w/ the padlock in the books on top of the drawers upstairs. Hint, the lock is a 4-digit code with only numbers.