Should the batteries fail on this unit they are changed from the outside on the keypad so you can operate the lock as normal. You will not need to re-set the code when the batteries are changed, your previously set code will still be active and allow you access to the safe.
Phil R