The code of the safe

The director of the bank branch of my town is a somewhat peculiar person. So much so that it has engraved the code of the bank's safe on the inside of the lid of a curious wooden box with a sliding lid that does not hide, but rather exhibits on its table. To protect the code from prying eyes, that box also contains a deadly venom snake that inevitably bites everyone who opens the box while also passing over any protection such as gloves.

How does the director himself access the code if we know he does not know the memory code?

Solution

If we put the box upside down against a table, for example. By sliding the lid, we can read the code engraved on the inside of the lid while the snake has no chance to bite us.