Setting up a combination lock depends on the type you have, but most follow a similar pattern: open the lock with its default code, activate a reset mode, choose your new combination, and lock in the change. The process takes under a minute for any style once you know the steps.
Dial Padlocks (Non-Resettable)
Traditional dial padlocks, like the kind you’d find on a school locker, come with a preset combination printed on a card or tag. These locks typically can’t be changed to a new code. To open one, you follow a right-left-right turning sequence:
- Turn right three full rotations, then stop at your first number.
- Turn left one full rotation, passing the first number once, and stop at the second number.
- Turn right and stop at the third number.
- Pull up on the shackle to open.
The extra rotations at the beginning clear the internal discs so each one engages cleanly. Skipping them is the most common reason a correct combination fails to open the lock. If it doesn’t pop open on the first try, start over from the three right turns rather than trying to nudge it.
Resettable Number Padlocks
Four-digit padlocks with small scroll wheels are the most common resettable type. These usually ship with a default combination of 0000. Setting your own code involves getting the lock into “reset mode,” which varies slightly by model but follows the same general idea.
Start by dialing in the current combination (0000 if it’s brand new) and pulling the shackle open. On most models, you then rotate the shackle 90 or 180 degrees and press it down firmly. You’ll feel it click into a slightly different position than normal. That click means the lock is now in reset mode and ready to accept a new combination.
While the shackle is pressed down in reset position, scroll the number wheels to your chosen code. Once all four digits are set, pull the shackle back up to its normal open position. The new combination is now locked in. Test it a few times before closing the lock on anything important: scramble the digits, dial your new code, and confirm the shackle releases.
Some models use a small reset button on the bottom or side of the lock body instead of the shackle-turn method. If your lock has one, you’ll press and hold that button while changing the digits, then release it to save.
TSA Luggage Locks
TSA-approved locks, whether standalone or built into a suitcase, have a small reset button recessed into the lock body. You’ll need something thin and pointed to reach it, like a pen tip or a small screwdriver.
Set the dials to 000 (or 0000 on four-digit models), or to your current combination if you’ve already changed it. Slide the release button to confirm the lock opens. Then insert your pointed tool into the reset hole and press. On most luggage locks, you don’t need to hold the button down. With the reset engaged, roll the dials to your new combination and close the shackle or slide the release button back. That saves the new code.
Built-in suitcase locks work the same way. The reset pinhole is usually on the side or back of the lock housing, near the zipper pulls.
Electronic Keypad Door Locks
Electronic deadbolts and keypad locks use a master programming code to manage user codes. This master code comes printed in your lock’s documentation and should be changed during setup for security.
For most residential keypads, the process works like this: with the door open and unlocked, enter your master programming code on the keypad. Press the “Lock” button, then press the number 1 (this tells the lock you want to add a user code). Key in your new code, which can be anywhere from four to ten digits on most models, and press “Lock” again to confirm.
Two beeps and a green light mean the code saved successfully. Three beeps usually mean something went wrong, and you need to start over from the master code step. Ten-button keypads follow the same logic but use a dedicated indicator button instead of the Lock button, and they typically limit user codes to four digits.
Choosing a Good Combination
Avoid sequences that are easy to guess: 1234, 0000, your birth year, or repeated digits like 1111. On scroll-wheel padlocks, also avoid codes where all four digits are close together, since someone watching you open the lock can estimate the combination from the small movements of your fingers.
For electronic door locks, longer codes are more secure. A four-digit code has 10,000 possible combinations, while a six-digit code has a million. If your lock supports longer codes, use at least six digits.
Common Setup Problems
The most frequent issue with scroll-wheel padlocks is not pressing the shackle down firmly enough during reset. If the lock doesn’t click into reset mode, the digits you choose won’t save, and you’ll still be on the old combination. Push the shackle down with steady pressure until you feel it seat into a notch.
On dial locks, the usual culprit is stopping between numbers rather than directly on them. Even being off by half a digit can prevent the lock from opening. Line each number up precisely with the indicator mark at the top of the dial housing.
For electronic locks, dead batteries cause more confusion than anything else. If the keypad doesn’t respond at all during setup, replace the batteries before troubleshooting further. Most keypad locks use a standard 9-volt battery accessible from the interior side of the lock.
Whatever type of lock you’re setting up, always test the new combination several times with the lock in your hand or the door open before committing. Getting locked out because of a code you thought you set but didn’t is far more common than any mechanical failure.

