Follow TV Tropes

Following

Context Main / LockAndKeyPuzzle

Go To

1One of the two fundamental AdventureGame puzzle types. This sort of puzzle is based on [[GottaCatchThemAll collecting]] an [[MacGuffin item or items]] from somewhere in the model world, and delivering them to some other place, where they can be of use.
2
3The archetype of this puzzle design is [[LockedDoor an actual physical lock]]. The player must retrieve the corresponding key from somewhere else in the world, and bring it to the door. Another very common form is a non-player character who performs a task which [[EventFlag alters the state of the game world]] when he is given the [[GiveMeYourInventoryItem proper payment]]. Another variant uses a combination lock or similar that requires a code, and the player has to determine the right answer from hints in in-game documents.
4
5In its simplest form, the player must do nothing more than bring the relevant object to the right place in order to solve the puzzle. Games with a more sophisticated user interface will require that the player use the "key" in some way specific to the nature of the puzzle, though in unskilled hands, this can lead to a GuessTheVerb puzzle.
6
7The Lock and Key Puzzle is one of the oldest and most common puzzle types across adventure games, especially InteractiveFiction. Its advantages include a tighter coupling with the model world than the SetPiecePuzzle. The setup is also easy to couple with plot developments, using the "key" as a PlotCoupon. The major disadvantages of this puzzle type are, on one hand, the possibility of CombinatorialExplosion and, on the other hand, the possibility of ThisLooksLikeAJobForAquaman.
8
9See also BrokenBridge. If the "key" is something non-intuitive or ridiculous, you've got to SolveTheSoupCans. For examples that are literal locked doors that require a key, see the subtrope, LockedDoor.
10----
11!!Video Game Examples
12
13* This one dates back to the dawn of Adventure: the goal of ''VideoGame/ColossalCave'' is to deliver the various treasures in the game to a treasure room.
14%%* ''VideoGame/{{Zork}}'' has the same goal.
15%%* Ubiquitous in the Franchise/ResidentEvil series.
16* ''VideoGame/ChipsChallenge'' makes use of color-coded keys and doors in many ways for this purpose, with the player being required to collect a certain number of chips each level to get through the gate to the exit. Two examples in particular stand out:
17** Level 135 (''Trust Me'') requires Chip to find one yellow key to open the yellow door blocking the exit. The problem is that, while there are multiple keys, many of them are either tied to deadly traps or simply inaccessible; as a result, he has to navigate through the whole level to figure out which is the right key to collect. There's a glitch in the Microsoft version that allows an earlier key to be grabbed without consequence to finish the level more quickly, though.
18** Level 137 (''Goldkey'') features many yellow keys as well as many yellow doors. The catch here is that certain doors have to be opened in a particular order, as going through either a wrong path or a certain area too ahead of time will render the level UnwinnableByDesign, forcing the player to restart it.
19* The ancient ''[[http://en.wikipedia.org/wiki/TinyMUD TinyMUD]]'' had a wonderful in-game language for constructing new puzzles. As long as they were lock-and-key puzzles. That was the only type you could build.
20* The two Detective Barbie PC games had this, although it wasn't always literal keys.
21* The NES game ''VideoGame/{{Castlequest}}'' was one gigantic version of this.
22* Several puzzles in the later ''VideoGame/{{Wizardry}}'' games ultimately boiled down to this, though quite often the nature of the item you need is only hinted at, and said item is hidden half a world away. Also common in reverse: you find the strange or seemingly useless item first, then much, much later, find the place you need that odd item.
23* In the first ''VideoGame/MegamanLegends'' game, you had to find starter keys hidden in dungeons in order to drop the shield that housed the refractor. In the second to last dungeon you had to find ID cards.
24* The Stoneship Age in VideoGame/{{Myst}} has a literal one, besides the fireplace panel in the library with over '''280 trillion''' possible combinations.
25* ''VideoGame/{{Riven}}'' has its infamous "Waffle Iron" puzzle which requires you to place up to six marbles with different colors somewhere in a 25x25 grid. The total amout of possible combinations is in the '''quadrillions'''. Knowing a few of the criteria reduces the number down to a "mere" ''93,850 trillion''.
26* ''Franchise/{{Doom}}''
27** The closest thing there is to a puzzle in the classic games. There are three different keys (red, blue, and yellow, all three in "keycard" and "skull key" variants, but only one variant appearing per level), each of which opens matching-color doors within the same level. Which keys appear (if any) depends on the level, and the format depend. Later on, fans cooked up source ports that allow the game to distinguish between key formats as well, so in [[GameMod custom WADs]], a man-made electronic keycard doesn't open.
28** ''VideoGame/Doom3'': Pops up in three different flavors. The most common is restricted-access doors that require a scan for your [[DataPad PDA]] clearance, and you have to find the PDA of one of the people authorized (which the door's interface panel helpfully provides a list of) to download the clearance and gain access; sometimes, you have to find an actual keycard[[labelnote:*]][[MythologyGag that plays the classic "item picked up" sound of the classic games]][[/labelnote]]; and finally, certain areas have to be unlocked by accessing a security terminal.
29** ''VideoGame/Doom2016'' varies things up a bit by occasionally making the "key" you have to find [[BorrowedBiometricBypass a severed hand]] from one of the mangled corpses lying around. Or an entire torso.
30* ''VideoGame/Wolfenstein3D'' and the later ''VideoGame/{{Quake}}'' both have gold and silver keys (also keycards and runekeys in the latter, depending on the level aesthetic). Most of the mid-90's "''Doom'' clones" like ''VideoGame/DukeNukem3D'', ''VideoGame/{{Dark Forces|Saga}}'', and ''VideoGame/{{Blood}}'' also copied this idea. ''Blood'' is noteworthy in that it features six different key types (dagger, eye, fire, moon, skull and spider), though levels rarely feature all of them at once.
31* In ''VideoGame/TheElderScrollsIIIMorrowind'', in the dungeons of Tel Fyr, there is an unmarked quest involving a series of locked chests. Each contains some minor loot and a key for the next chest. Get to the final chest and you can walk away with a few legendary weapons and the best Light Armor cuirass in the game.
32* There are at least two puzzle like that in ''VideoGame/{{Spellforce}}''. While not mandatory, they offer nice loot. They reappeared in the sequel, as well.
33* The more plot-driven ''VideoGame/MysteryCaseFiles'' games all end with variations of this.
34* Almost all dungeon levels in the ''VideoGame/DarkCloud'' series feature this. The dungeon item will invariably be dropped by one enemy on the floor upon defeat, which will be used to travel to the next floor. Occasionally, you'll find keys that will open up doors or bridges that block off parts of levels.
35* LetsPlay/{{Raocow}} refers to these as "item babysitting" in ''VideoGame/SuperMarioWorld'' ROM hacks: finding a key and bringing it back to a lock you passed, finding a springboard and bringing it back to a high jump you passed, etc. He's not particularly fond of these puzzles, but it's about all the complexity and nonlinearity one can manage in the ''Super Mario World'' engine.
36* ''VideoGame/EternalDarkness'' has many of these puzzles. One notable example is the "Staff of Ra"-style puzzle where the character finds a rod and a lens, puts them together and places the staff on a pedestal. The sunlight (or whatever it is) coming from above focuses through the lens into a beam, which must be rotated to reveal reflective panels before finally unlocking the door.
37* ''Franchise/{{Pokemon}}'' has at least two of these. In ''VideoGame/PokemonRedAndBlue'' and Yellow, plus ''[[VideoGameRemake FireRed and LeafGreen]]'', you have to find the key card for the Team Rocket hideout to get through it. In ''VideoGame/PokemonDiamondAndPearl'' and Platinum, the key card is needed for the Team Galactic building.
38* ''VideoGame/ManiacMansion'' is all over this. Finding all the keys (including keycodes), figuring out which lock they open, and getting things from the locked rooms comprises most of the game-solving puzzles
39* ''VideoGame/MissingChildren'' has quite a few locks for which you need to find keys.
40* Randomly-generated ''VideoGame/AdventureConstructionSet'' games consisted of nothing else. All but one of the dungeons would contain a locked door with an NPC demanding a specific item. The remaining dungeon would have the item that starts off the chain.
41* Very common in ''VideoGame/TheCastlesOfDoctorCreep''. While not all the exit doors to the castles are locked with keys, all the castles require the collection and use of keys to proceed further in the level.
42* One of the stranger examples appears in ''Videogame/{{Doom}} RPG'', in which the 'lock' is a large database with a piece of vital information buried in it somewhere, and the 'key' is getting an NPC to loan you a Beginner's Guide to SQL so you can look up the right command. Regrettably, the limits of the game engine prevent players who already know the command they need from bypassing this.
43* Locked doors and color-coded keys are present in the Domino Dungeon and Plizzanet levels of ''VideoGame/YoNoid2EnterTheVoid''. The puzzle is ''finding'' the keys.
44* One of the quests in ''VideoGame/{{Withstand}}'' involves locating a key card that you need to open a door.
45* ''VideoGame/ThePedestrian2020'': Sometimes [[PlayerCharacter The Pedestrian]] will need to bring a key to a locked door to progress further.
46* ''VideoGame/DeadCounty'': There will come times when the [[PlayerCharacter delivery guy]] needs to hunt down keys to unlock doors.
47* ''VideoGame/StringTyrant'': The player progresses the manor, by finding keys to open doors. These are helpfully labeled with card suites both on the key and relevant door.
48* ''VideoGame/SydneyHunterAndTheCurseOfTheMayan'' contains many examples of different-coloured skull doors that require the appropriately-coloured keys to unlock.
49* ''VideoGame/{{Pacify}}'': Multiple doors in the house are locked, and the keys are scattered all throughout said house.
50* ''VideoGame/Onryo2020'' has plenty of locked doors you need to find the key for.
51* ''VideoGame/BlameHim'' has its share of locked doors that require keys to open. Luckily for the first one, the key's in the same room.
52* ''VideoGame/{{HEPH}}'' begins with the PlayerCharacter in a locked room that requires a key card to get out. The only way to get it is to [[ItemCrafting make one]] from the resources acquired by breaking down objects in the room.
53* ''VideoGame/ATechCybernetic'' has its share. The thing is, you just need to have the key in your inventory, and you can unlock the corresponding door by placing your hand on the scanner.
54* ''VideoGame/Clea2019'': The doors to clear the levels are all locked, and you need to find the keys. Said keys are all separated into three pieces, so you need to find and combine them so they can work.
55* ''VideoGame/CastleInTheDarkness'' has a number of doors you need to find a key for.
56* ''VideoGame/TodayIsMyBirthday'' has locked doors, and you will need to find keys for them.
57* ''VideoGame/{{Hanako}}'': The school the game is set in is [=FULL=] of locked doors. Each one needs the corresponding key to open it up.
58* ''VideoGame/NinjaOutbreak'': There are differently-coloured doors in the game that need their corresponding keys to unlock.
59* ''VideoGame/LunchLady'': Plenty of doors in the school are locked, and you need to find the keys to open them.
60* ''VideoGame/Trenches2021'': There's at least one locked door in the game you need to find the key for.
61* ''VideoGame/TheCaregiver'': The shed at Souichi's house is locked shut, and the key's in a box with a rusted lock.
62* ''VideoGame/RootsOfInsanity'': One of the first puzzles faced in the game is locating the key to B block.
63* ''VideoGame/{{Eldervale}}'': This game has its share of locked doors you need to find keys for, alongside ones you need to unbolt from the other side.
64* ''VideoGame/LivestreamEscapeFromHotelIzanami'': Plenty of rooms in the hotel are locked, and require a key to open.
65* ''VideoGame/EccoTheDolphin'': The majority of the series' puzzles are in this format. "SEARCH FOR THE KEY-GLYPH" indeed.
66* ''VideoGame/{{Kolibri}}'': This shooter has both autoscrolling levels and puzzle levels. The vast majority of the puzzle levels are in this format, requiring Kolibri to find a single-use powerup to blast through stones in his way.
67* ''VideoGame/TheNightWayHome'': One of the first puzzles in the game is to find the key to the security room.
68* ''VideoGame/{{Alisa}}'': There are plenty of locked doors in the dollhouse that [[PlayerCharacter Alisa]] needs to find the right key for. The keys she finds, she keeps on her key ring.
69* ''VideoGame/{{Harthorn}}'': The school has changed and updated their locks in favour of key pads and key cards following an unspecified incident. Despite this, you can still find keys that open locked doors.
70* ''VideoGame/SherlockHolmesTheMysteryOfTheMummy'': Franchise/SherlockHolmes can find a key in the mansion to a locked door. However, he refuses to use it right away on the grounds that the lock is so rusted it's liable to break the key. So you'll need to find an oil can to use on the door first.
71* ''VideoGame/{{KOJOUJI}}'': There are locked doors in the game you will need to collect certain key cards to be able to open. You start the game with the missing person's key card.
72* ''VideoGame/NinjishGuyInLowResWorld'': There are some parts of the game that only open up if you grab the key.
73* ''VideoGame/TheRadioStation'': You can't get into the titular radio station until you find the key.
74* ''VideoGame/BloodBreed'': There are plenty of locked doors in the Killamoor Meat Works that the PlayerCharacter must find the key to.
75* ''VideoGame/MarioParty7'': The Bowser minigame Treasure Dome! has a solo player open five chests, one after another, and has only 30 seconds to do so. At the start of the minigame, the player grabs the key at the center and has to see which chest is opened with it, and that chest will have the key that opens one of the other four chests, then get the next key to see which of the remaining three chests opens up, and so on. The fifth chest opened guards the key that allows the player to open the exit door.
76* ''VideoGame/{{HAAK}}'': In the Sanho Ruins, there are plenty of locked doors that can only be opened by blue keycards.
77* ''VideoGame/CastleOnTheCoast'': The main objective of the game appears to be collecting the four keystones to get into the main tower. In addition to that, there's a few locked coloured doors that need their corresponding keys to open.
78* ''VideoGame/Madman2022'': There are locked doors in the hospital that will only open with the corresponding key card.
79* Many puzzles in ''VideoGame/CragneManor'' involve finding keys to open boxes or doors. Sometimes they're for items in the same room, while other ones have to be brought across the game. Your backpack has a dedicated "key pocket" for storing them.
80* ''VideoGame/ThanksKillingDay'': There are a few doors that are locked and require a key to open in the game. These include [[spoiler:the key to the house, and the key to a fenced in area where the axe head is]].
81* ''VideoGame/HeavenDust'': Like any good SurvivalHorror game, this game is full of locked doors that require their designated key to open.
82* ''VideoGame/ColorgraveUniverse'':
83** Featured all over the place in ''VideoGame/{{Prodigal}}'', being a game that consists mostly of dungeons. In the post-game and NewGamePlus you can progress a bit faster by purchasing Normal Keys, but these can only get you so far because some places have Crystal Keys, which you have to move from one place to another without taking any damage at all or it will break (thankfully it respawns so you can keep trying), and [[BrutalBonusLevel Daemon's Dive]] has Divine Keys, which can only be found within that particular dungeon to stop you from relying on Normal Keys that were acquired elsewhere.
84** The Crystal Keys make a return in a few levels in ''VideoGame/CurseCrackersForWhomTheBelleToils'', as well as regular keys which won't break but you will lose them if you die. Once you reach Grevenfel, you can buy a key from Elinore's shop to open any lock, but like with all items you can only have one at a time.
85* ''VideoGame/BramTheToymaker'': The house has its share of doors that are locked and need a key to open. Some of the doors are coloured a certain way, and will only unlock when the corresponding key's used in it.
86* ''VideoGame/{{Observo}}'': The game, being a love letter to SurvivalHorror video games of the 2000s, is full of locked doors that need the corresponding key to unlock.
87
88----
89!!Non-Video Game Examples
90* Commonly used in the ''Literature/FightingFantasy'' series of Gamebooks. Most of the time gameplay would revolve around obtaining Item A to get Item B, then using Item B to get Item C and so on...
91* In a rare non-VideoGame example, the 'Tomb and Trap' chapter of ''FanFic/VariousVytalVentures'' features an exercise to gather relics of seemingly odd shapes that are later revealed to fit together... and act as a key to the only exit.
92* In ''Webcomic/GirlGenius'' the fragmented AI of Castle Heterodyne tasks the prisoners trapped in it to work on repairs with tasks like this on occasion by locking them in a room or wing of the castle and not letting them out until that section is repaired. Due to the state of the castle, the fact that there is no way to get food to individuals trapped in this manner, and the fact that the castle just can't pass up the opportunity to murder its occupants in amusing ways this often leads to the deaths of all involved rather than any repairs and opened doors.
93* A major mechanic in the ''[[Literature/TheReturnOfZaltec Zaltec]]'' [[Literature/ZaltecII series]] of gamebooks. The puzzles don't have an explicit "if you have item X, you may proceed" condition but rather the items are parts of visual puzzles that can only be solved once you've actually seen the item, thus preventing cheating (and serving as an actual puzzle).

Top