I'm pretty sure the safe was to store coded messages and keep the ship's log. Officers always have things enlisted men aren't supposed to see and captains always have things junior officers aren't supposed to see. My destroyer even had one in the radio room, for the code books and such.
Nice tour. Thanks.