To open the white safe, pick up the battery pack inside the red safe and place it in the console next to the red frame. This starts a maze minigame, where you need to move your player to the star in 20 moves. By following the correct path as shown, you will reveal numbers, which create a code to unlock the white safe: 4937