Type the programming code off the cover of the lock and press the "Program" button. The lock enters programming mode.
Enter a new code of between four and eight digits into the lock. The length of the code will depend on your particular model.
Repeat the code if necessary. Several models of electronic lock accept replacement codes after one entry with a beep.
Push the confirmation button, often labeled "Lock," and replace the cover of the lock. This step may not be necessary on your model.
Test your new code; the door should accept your new code.