Digital Locks for Escape Rooms: 14 Types, 13 Puzzle Ideas
How digital locks work in an escape room: the 14 lock types, 13 ready-to-use puzzles with checked codes, chained locks and what players see on their phone.
A digital lock for an escape room is a lock that lives on a web page instead of on a door. You hide a message, a link, an image, a sound or a video behind a secret code, you share a link or a QR code, and your players open it on their own phone. They solve the puzzle in the room, type or tap the answer on the screen, and the hidden content appears. No app to install, no hardware to buy, nothing to reset between groups.
On CrackAndReveal, a digital padlock can take 14 different shapes: a PIN pad, a 3x3 swipe pattern, a piano, a map, a grid of switches, a login form and more. This guide explains what each one asks of the player, gives you 13 complete puzzles with codes and solutions that have been checked, compares digital and physical locks honestly, shows how to chain several locks into a full game, and describes what your players actually see.
1. How a digital lock works, from the player's side
Here is the whole experience in four steps:
- The player opens the link. It is either a short link (crackandreveal.com/o/ followed by six characters) or a custom link built from your handle and a name you choose. Most creators print it as a QR code and stick it on a prop, a card or a door.
- They see the lock. The page shows the lock itself: a keypad, a piano, a grid of toggles, a map. It looks like an object, not like a form.
- They enter the code. Some locks check the answer as soon as the last digit, color or note is entered. Others, such as the password, the login, the directional locks and the switches, wait for the player to press the validate button.
- The content appears. A correct code reveals what you hid: a text, a link to the next clue, an image, a sound or a video. A wrong code simply keeps the lock closed, so players try again.
The code is checked on the server, so the answer is not sitting in the page for a curious player to read. The one thing you should know is that attempts are counted. We come back to that in the section on pricing.
If you are new to the idea, the guide to 14 types of virtual padlocks shows each lock in more detail, and 10 creative ways to use a virtual lock is a good companion for non-escape-room uses.
2. The 14 lock types at a glance
| Lock | Code format | What the player does | Best used for | |------|-------------|----------------------|---------------| | Numeric | Digits, such as 0347 | Taps a keypad | Classic number puzzles, dates, counting clues | | Password | A word or phrase | Types text, then validates | Riddles, anagrams, ciphers, decoded words | | Login | A username and a password | Fills in two fields | Hacked-computer or secret-account scenes | | Directional (4-way) | Up, down, left, right | Taps arrows in order | Mazes, floor plans, footprints | | Directional (8-way) | The 8 compass directions, up to 8 steps | Taps compass arrows in order | Treasure maps, wind roses, navigation | | Pattern | A path on a 3x3 grid | Swipes across nine dots | Shapes, letters, symbols drawn on a wall | | Color sequence | Colors in order, from red, blue, green, yellow, purple, orange, pink, cyan, teal and lime | Taps colors in order | Stained glass, wires, lights, traffic signals | | Switches | A grid from 4x4 up to 10x10, each switch on or off | Toggles a grid, then validates | Pictures made of lit and unlit squares, circuit boards | | Ordered switches | Switch numbers in activation order | Activates switches in the right order | Boot sequences, timelines, rituals | | Musical | Up to 8 notes on one octave, Do4 to Si4, white and black keys | Plays a short melody on a piano | Music rooms, lullabies, famous tunes | | Virtual geolocation | A point on a map | Places a pin on a map | Geography, landmarks, history trails | | Real GPS geolocation | A real-world position | Goes to the place and taps verify | Outdoor hunts, city tours, school grounds | | 4x4 switches | A fixed 4x4 grid | Same as Switches | Older locks kept for compatibility | | 5x5 switches | A fixed 5x5 grid | Same as Switches | Older locks kept for compatibility |
The last two rows are legacy sizes. For anything new, choose the regular switches lock and set the grid size you want. The 14-type count in our product page includes them.
A few practical limits worth remembering when you design:
- Directional 8-way locks take up to 8 steps.
- Musical locks take up to 8 notes, all on a single octave.
- Color locks only use the ten named colors above, so build your clue around those ten.
- The pattern lock is a 3x3 grid, so the shape you hide must be drawable in nine dots.
- The real GPS lock depends on the phone's location, and a determined player can fake a location. Use it for fun, not as a security guard.
For a side-by-side look at how each type feels in a live game, see 14 escape room lock types, the ultimate comparison.
3. 13 digital lock puzzles with checked codes
Each puzzle below gives you the physical clue, the lock to build and the exact code. Where a calculation is involved, it has been verified letter by letter.
Puzzle 1. Numeric: the four paintings
Setting: a gallery room with four framed paintings numbered 12, 25, 31 and 48.
Clue: a plaque reads: "The thief only touched the last digit of each frame."
Solution: the last digits are 2, 5, 1 and 8.
Lock: numeric. Code: 2518.
Puzzle 2. Password with a Caesar shift
Setting: an old library. A note says the key word is hidden by shifting every letter three places forward, and a bookmark reads OLEUDUB.
Solution: shift each letter back three places: O becomes L, L becomes I, E becomes B, U becomes R, D becomes A, U becomes R, B becomes Y. The word is LIBRARY.
Lock: password. Code: library. Decide whether capitals matter when you create it.
If you like ciphers, 15 famous codes and ciphers for escape games has many more to adapt.
Puzzle 3. Password with an anagram
Setting: a silent monastery. Scrabble tiles on a shelf spell NETLIS.
Solution: rearrange the six letters N, E, T, L, I, S and you get SILENT. LISTEN and TINSEL use the same six letters, so the sign on the door ("Silence, please") is what points players to the right word: put it in plain sight, or the puzzle has three answers.
Lock: password. Code: silent.
Puzzle 4. Directional 4-way: footprints on the floor plan
Setting: a printed plan of the house with muddy footprints drawn from the kitchen.
Clue: the footprints go up two squares, turn right, then go down one square.
Lock: directional (4-way). Code: Up, Up, Right, Down.
Puzzle 5. Directional 8-way: the ship's log
Setting: a pirate cabin with a logbook: "Five legs to the island. First north, then north-east, then east, then south-east, and finally south."
Lock: directional (8-way). Code: N, NE, E, SE, S. That is five steps, well under the limit of eight.
Puzzle 6. Pattern: the initial of the masked rider
Setting: a theater dressing room. A mirror has a single letter scratched into it, a bold Z, and a card says "The signature is the key."
Solution: number the dots on the 3x3 grid from 0 to 8, row by row, top left to bottom right. The Z goes along the top row (0, 1, 2), across the diagonal through the center to the bottom left (4, 6), then along the bottom row (7, 8).
Lock: pattern. Code: 0, 1, 2, 4, 6, 7, 8.
Puzzle 7. Color sequence: the sunset window
Setting: a chapel with a stained-glass window showing a sunset in four bands.
Clue: an engraved line reads "Read the sky from the horizon upward."
Lock: color sequence. Code: yellow, orange, red, purple. Because only ten color names exist, the glass maker only needs to use colors from that list.
Puzzle 8. Switches: the lit windows
Setting: a tower block photographed at night. Lit windows form a ring on four floors and four columns: the photo shows 0110, 1001, 1001, 0110 from top to bottom, where 1 is a lit window.
Solution: write the rows in a single line to match the toggle grid read left to right, top to bottom.
Lock: switches, 4x4. Code: 0110100110010110. Count the characters when you build it: sixteen, one per switch.
Puzzle 9. Login: the hacked workstation
Setting: a night-shift office. A sticky note on the monitor reads "librarian" and a receipt on the desk shows an orchid plant, quantity 7.
Solution: the username is on the note, the password is the plant and the quantity glued together.
Lock: login. Code: librarian and orchid7. Decide whether each of the two fields is case-sensitive; usernames are usually not, passwords often are.
Puzzle 10. Ordered switches: the control room
Setting: a power station. Four handwritten notes are pinned to a board, each with a time and a switch number: switch 12 at 6:00, switch 5 at 7:30, switch 9 at 8:15 and switch 0 at 9:00.
Solution: players sort the notes by time and activate the switches in that order. The grid is a 4x4 with switches numbered 0 to 15, row by row.
Lock: ordered switches. Code: 12, 5, 9, 0.
Puzzle 11. Musical: the nursery music box
Setting: an attic with a broken music box and a note: "Play the lullaby everyone knows."
Solution: the traditional melody of "Twinkle, Twinkle, Little Star" opens with seven notes. On one octave, starting on C4, the notes are C, C, G, G, A, A, G.
Lock: musical. Code: C4, C4, G4, G4, A4, A4, G4. Seven notes is within the limit of eight. If your players use the French names, that is Do, Do, Sol, Sol, La, La, Sol, and you can print a small keyboard with letters on it for those who cannot read music.
Puzzle 12. Virtual geolocation: where is the tower
Setting: a postcard from a lost explorer shows an iron lattice tower on a river, with the words "I left the key where this tower stands."
Solution: the players recognize the Eiffel Tower in Paris and place the pin on the Champ de Mars.
Lock: virtual geolocation. Code: the tower's coordinates, around 48.8584 north and 2.2945 east, with a tolerance of 250 meters. The starting view of the map is chosen so it does not open on the answer; the platform keeps the target away from the center, so players have to search.
Puzzle 13. Real GPS: the fountain in the square
Setting: a city discovery game for a birthday afternoon. The last clue says "The treasure waits where children throw coins and make wishes."
Solution: the players walk to the fountain in your town square. Set the target at the fountain and a tolerance of 25 meters. The creator sees only how far a player was from the target, never where they stood.
Lock: real GPS geolocation. Code: the fountain's coordinates. Because location can be faked on a phone, do not use this lock when the reward matters more than the fun.
Try it yourself
14 lock types, multimedia content, one-click sharing.
Enter the correct 4-digit code on the keypad.
Hint: the simplest sequence
0/14 locks solved
Try it now →4. How to match the lock to the theme
A lock feels immersive when its gesture fits the story. Some pairings that tend to work:
- Piano or music box for music rooms, theaters, haunted mansions and anything involving a character who loved a song.
- Switch grids and ordered switches for control rooms, laboratories, cockpits, bunkers, anything with a panel.
- Compass and directional locks for treasure maps, jungle expeditions, mazes, and anything that needs a route.
- Color sequence for stained glass, wiring, magic potions, traffic lights and festival lanterns.
- Login and password for heists, hackers, spy offices, detective archives.
- Maps and GPS for travel, history and outdoor games.
Match the gesture to the story and your players stop noticing the technology. The narrative level is what counts: tapping a piano is "playing the composer's last song", activating switches is "restoring the reactor", standing at a location is "arriving at the rendezvous".
Two quick tests before you finalize a lock:
- Can the clue be solved without the lock? If a bored player could guess the answer in 10 tries, the puzzle needs a better clue, not a better lock.
- Does the answer have only one path? A pattern that could be drawn two ways, a color order that could be read top to bottom or bottom to top, will frustrate players. State the reading direction in the clue.
For more ideas by lock, see 50 puzzle ideas for a homemade escape game.
5. Digital locks vs physical locks
Physical locks are wonderful: you hold them, they click, the shackle opens. They also have limits that digital locks remove. Here is a fair comparison.
| Criterion | Physical lock | Digital lock | |-----------|---------------|--------------| | Set-up | Buy the lock, hide the key, build a box | Create the lock online in a few minutes | | Reset between groups | You re-lock, re-hide and re-count | Nothing to reset; only the attempts counter changes | | Variety of puzzles | Combination, directional, key | 14 types, including music, maps and grids | | Remote or hybrid players | Impossible | Works anywhere there is a phone and a signal | | Wear and breakage | Locks jam, boxes break, keys get lost | Nothing to break | | Tactile feel | Excellent | Limited to the screen | | Needs a phone and connection | No | Yes | | Changing the code | Change the lock | Edit the lock and keep the same link | | Tracking | Hard to know who tried what | Attempts, successes and a log for the creator |
The real advantages of the digital version are flexibility and logistics. You can change a clue five minutes before the game, run the same game for ten groups without resetting anything, and have players on three continents.
The real cost is the screen. If you want the mechanical click, keep a physical lock for the finale and use digital locks for everything else. Many good games mix both: a physical box with a combination padlock that opens to reveal a QR code, which leads to a digital chain.
You do not need to choose a single tool. For a look at the landscape, 7 best free escape room creator tools in 2026 compares the options.
6. Chaining locks into a full game
One lock is a puzzle. Several locks in a row are a game. CrackAndReveal calls this a multi-lock chain: you link between 2 and 10 locks, and the players move through them in order. Each lock has its own type, code and hidden content, and a player unlocks the next step only after solving the previous one.
A well-built chain follows a simple rhythm:
- An easy opener. A numeric lock with a clear clue, so everybody scores a first win.
- A middle section that varies the gestures. Alternate typing, tapping, swiping and moving: a password, then a pattern, then a color sequence, then a map.
- A hard step near the end. An ordered switches lock or a musical lock, where players need to coordinate.
- A reward at the end. The last lock reveals the final message, the photo, the video or the link to the party.
Example: a five-step "museum night" chain for a team of adults.
| Step | Lock | Clue | Reward at this step | |------|------|------|---------------------| | 1 | Numeric | The four paintings (Puzzle 1) | The location of the library | | 2 | Password | The Caesar shift (Puzzle 2) | A riddle about a theater | | 3 | Pattern | The Z on the mirror (Puzzle 6) | A photo of a stained-glass window | | 4 | Color sequence | The sunset window (Puzzle 7) | A sound clip of a lullaby | | 5 | Musical | The music box (Puzzle 11) | The final message and the prize |
Every reward is content hidden behind the lock: text, a link, an image, a sound or a video. A good rule is to make the reward at each step point at the next physical or digital clue, so the chain feels like one story and not a list of tests.
To go deeper on pacing and structure, read how to chain puzzles in an escape game and create a multi-lock chained puzzle trail.
Competition between teams
If you run a game with several teams and want to know who arrives first, the Pro plan adds a competition mode: players enter a nickname at the end of the chain, and you see the ranking by order of arrival on your own screen, with a full-screen mode for projection in the room. Competition mode is for the creator's eyes only. Players never see each other's IP or browser data, and neither do you.
7. What players actually see
A few details help you design for the screen.
- The page opens straight on the lock. There is no account to create for players, nothing to install.
- Phones are the main device. The locks are designed to be tapped and swiped with a thumb. Test on a small phone.
- The lock is a picture of an object. Players should feel they are touching the keypad, the piano or the compass. Mention the object in your story ("the safe on the wall") and place the QR code next to the real object.
- Feedback is simple. A right answer opens the content, a wrong answer lets them try again. Plan a hint for stuck players.
- Sound works if the phone is not on silent. For musical locks, tell players to turn the volume up.
- The free plan shows a small CrackAndReveal mention. Pro creators have no watermark.
If you want players to see the lock on a larger screen, Pro creators can embed it in a web page with an iframe, which is useful for a remote game where everybody is on a video call.
8. Plan your attempts: what the free plan includes
The free plan lets you create as many locks and chains as you want, with all 14 types, a QR code for each, and statistics (attempts, successes, an attempt log and a CSV export). The limit is on usage: 30 player attempts in total, across all your locks, and your own test attempts count. So test once, not ten times.
- Free: unlimited locks, 30 cumulated player attempts, a small watermark.
- Event Pass, 9 euros (9 dollars outside the eurozone): a single payment for 30 days of unlimited attempts, with no renewal. Buying another Pass before the first ends adds 30 more days. It does not include the Pro features.
- Pro, 29 euros (29 dollars outside the eurozone): a single payment for lifetime access. Unlimited attempts, competition mode, no watermark and iframe embedding.
Prices include taxes, and every purchase has a 14-day money-back guarantee. For a one-off birthday or classroom session, the Event Pass is usually enough; for a business or a regular host, Pro makes more sense.
9. Mistakes to avoid
- Ambiguous direction. Say whether patterns, colors and notes are read left to right, top to bottom or in the order of a timeline.
- A cipher without a hint. The Caesar shift in Puzzle 2 only works if players know to shift. Put the number of positions on a poster, or use an obvious prop like a wheel.
- Too many locks too soon. Start with two or three, then grow the chain.
- Testing too many times. Each test is counted against the free plan.
- Relying on GPS for security. A phone can be tricked into a fake position.
- Forgetting the batteries. Tell players to charge their phones, or leave a charging station in the room.
- No backup. Keep the codes on a printed sheet for the game master.
FAQ
What is a digital lock in an escape room?
It is a lock displayed on a web page. Players open a link or scan a QR code on their phone, solve a clue in the room, then type, tap or swipe the answer. When it is correct, the page reveals the content you hid: a message, a link, an image, a sound or a video.
Do players need to install an app or create an account?
No. They open the link in their phone's browser and play. You, the creator, need a free account to build the locks.
Can I make an online escape room lock for players at home?
Yes. The same link works for people playing together in a room and for people playing from different cities. For a remote game, send the link by message or video call. Maps, passwords, numeric and color locks are the easiest to run at a distance.
Which digital lock is best for beginners?
The numeric lock and the password are the simplest to design and to solve. Once you are comfortable, add a pattern or a color sequence, then try a musical or an ordered switches lock for a more memorable moment.
How many locks can I chain together?
A chain links between 2 and 10 locks. Each step has its own type, code and reward, and players must solve one to reach the next.
Is the GPS lock safe against cheating?
No. A phone can be made to report a false location, so treat the real GPS lock as part of the fun, not as a guard. If something valuable depends on being on site, add a physical check as well.
How much does it cost?
Creating locks is free, with 30 cumulated player attempts. The Event Pass costs 9 euros (9 dollars elsewhere) for 30 days of unlimited attempts, and Pro costs 29 euros (29 dollars elsewhere) once, for life. Both are one-time payments, taxes included, with a 14-day money-back guarantee.
Conclusion
Digital locks give an escape room what physical hardware cannot: fourteen kinds of interaction, a reset-free game, remote players and clues you can change at the last minute. The craft is the same as ever. Pick the gesture that fits your story, write a clue that has one clear answer, and mix the lock types so that every step feels different.
Start with one of the 13 puzzles above, adapt the wording to your theme, then chain three to five locks into a short game. Create your first digital padlock for free on CrackAndReveal and send the link to a friend to test it.
Ready to create your first lock?
Create interactive virtual locks for free and share them with the world.
Get started for free