Use a screwdriver to remove the panel on your electronic lock, exposing the internal panel. Depending on the model, you may need only to set the lock to the open position and press the program button. The button is usually located on the power board but may differ from model to model. If you are not sure of the exact location of the programming button, consult the owner's manual of your electronic door lock.
Enter your new electronic code by pressing the numbers on the lock's keypad. Select a combination of four to eight numbers as your new code, being careful to use numbers that you will remember but that will not be easily guessed by a potential intruder who knows you -- no pet names!
Listen for a beep or other confirmation that the your new electronic key code has been accepted. If the electronic lock does not confirm a successful change in the combination, repeat Steps 1 and 2.
Enter your new electronic combination to ensure the lock and the code are working properly. The latch should engage and retract after you punch in the code. Close the access cover, securing it firmly to the electronic door lock.