This prevents you from getting locked out of your safe before you reset the code. So, enter the 5-digit factory code listed on the back of your user manual and open the safe.[4] 2 Press “P” on the keypad and enter the factory code. With the safe door open, push the “P” ...