Yes a digital safe will often have programmable code off 4 to 8 digits. I have such a safe and programmed with 8 digits, also this safe will lock you out for 5 minutes if you enter the wrong code 3 times in a row. So no brute force attack on this one! Emergency safe keys are put in a container and sealed with a numbered plastick lock. So my keyholder friend know I haven't cheated the chastity.