To change the 4-digit code on a Kwikset lock, you need to open the door and slide open the back panel. Now, push the program button once and then type in the code you need. Hit the door lock and repeat the process. Your new 4-digit code should work flawlessly.