Jaap's Puzzle Page

Padlock / Puzzle Lock / Lockout

Padlock

The Padlock (also called Puzzle Lock or sometimes Lockout) is a very intimidating puzzle. It looks insanely complicated, and it is not immediately clear how it is supposed to work. The main idea is that one person sets a combination and mixes it, and then another person has to unscramble it by matching the combination in order to release the locking mechanism.

This puzzle was patented by Ira Friedman on 8 November 1988, US 4,782,676. Ira Friedman also invented and patented Switchback by Binary Arts (now called ThinkFun).

Terminology:

The padlock consists of a black casing with the following parts:
  1. A grey loop at the top. The aim is obviously to pull the loop out of the puzzle, thus opening the padlock.
  2. Green switches, eleven switches on the left hand side, and the same number on the right. These are used for setting a combination.
  3. Blue tiles. There are nine tiles in a 2 by 5 central playing area of the puzzle, and one blank space so that the tiles can slide about.
  4. Blue sliders. These are horizontal sliders embedded in tracks in the surface of the blue tiles.
  5. Red release switches near the top. These release the lock once the puzzle is solved.

Setting a combination:

To set a combination for someone to solve, you must first open it. For the moment I will assume that all the switches are inactive, i.e. all the green switches are pushed outwards towards the edge. To open the lock, you can then simply shift the tiles so that the blank is in the top row, shift both release switches inwards and remove the loop. If not all switches are inactive, then you will have to solve the puzzle first, and I will describe that later.

Now that the lock is open and the loop removed, you can set up a combination:

  1. Slide the release switches out of the way, and mix up the sliding tiles. Note that it is possible to pull up a tile, rotate its surface 180 degrees, and then push it back in. Continue until you are satisfied that the playing area is well mixed with the blank on the top row again. Note that it is possible to push the whole playing area up and down a bit to align it with the switches in two ways.
  2. Now push as many switches as possible inwards, into the playing area. The switches can be moved into the tracks on the tiles. Any switches that cannot encroach the playing area should be left in the outward inactive position.
  3. Push the release switches inwards.
  4. Carefully insert the loop into the puzzle. It will not go in all the way unless each switch is either inactive or pushed into the playing area.
  5. Push the release switches outwards again.
  6. Push all the 'activated' switches as far outwards as possible. These switches will not go all the way outwards, but will go far enough to release the tiles in the playing area.
  7. Mix the tiles by sliding them around.

Solving a combination:

Another person can then solve by reversing the steps above:

  1. Unscramble the tiles by sliding them around, trying to place them such that all activated switches are given room to slide further inwards, and such that the blank lies in the top row. Remember that the playing area can be shifted up or down as a whole to align with the switches in two ways. It is considered cheating to pull up and reverse a tile to reach a solution, though you may well have to resort to this tactic if it is too difficult.
  2. Slide all activated switches inwards, into the playing area.
  3. Slide the release switches inwards.
  4. Pull out the loop.
  5. Reset all switches, pushing them outwards to the inactive position.
  6. Clean up by reinserting the loop and pushing the release switches outwards.

If your browser supports JavaScript, then you can play the Puzzle Lock by clicking the link below:

JavaScript Puzzle Lock

The number of positions:

It very much depends on what you wish to count as a position. Given a particular orientation of the tiles, then there are 9!/2 = 181,440 ways of arranging the tiles such that the blank is in the top row. The division by 2 is because of the usual parity restriction in sliding tile puzzles.

On the other hand you may want to know how many different combinations it is possible to set. Suppose that when you set the combination you always activate as many switches as possible. In that case the combination depends mostly on the position and orientation of the tiles, so then there are at about 29 * 9! /2 = 92,897,280 possible challenges you can set. This is an inaccurate because sometimes a track contains a long and a short slider and you can activate either switch (but not both). Furthermore, some combinations have several solutions, and those have been counted separately in this calculation.
If you do not restrict yourself to always activating as many switches as possible, then there are at most 222 switch settings and 29 tile orientations to give at most 231 = 2,147,483,648 challenges. Clearly however not all of these are really solvable. For example at most 14 switches can be active at any one time (the tiles have 15 gaps and at least one is in the tile in the top row and so cannot be used).

Hints for solving:

There is no straightforward method for solving the padlock, but here are a few hints that may simplify things a little.