write the numbers down. there's going to be a keypad lock somewhere else in the mansion where you'll need them. updating the code every six hours implies it's a high security door. this will only work if you've inserted the emerald you got from the reflecting pool into the snake statue.