Follow TV Tropes

Following

Context Main / TheKeyIsBehindTheLock

Go To

1%%
2%%
3%%
4%% This list of examples has been alphabetized. Please add your example in the proper place. Thanks!
5%%
6%%
7%%
8%% Image selected per Image Pickin' thread: https://tvtropes.org/pmwiki/posts.php?discussion=16834892440.35951600
9%% Previous thread: https://tvtropes.org/pmwiki/posts.php?discussion=1485208821068514100
10%% Please do not change or remove without starting a new thread.
11%%
12[[quoteright:311:[[VideoGame/IWannaLockpick https://static.tvtropes.org/pmwiki/pub/images/iwlp_c22.PNG]]]]
13%%
14
15->''"This kind of packaging should be outlawed! Why does it still exist? I especially love when you buy scissors and you need scissors to '''open''' the scissors!"''
16-->-- '''[[WebVideo/YouKnowWhatsBullshit The Bullshit Man]]''' making a cameo appearance on ''WebVideo/TheAngryVideoGameNerd'' to complain about plastic packaging.
17
18Something important is locked. There is a key. However, this key is inside. You need the key to reach the key.
19
20While this trope can be PlayedForLaughs with trivial situations such as locking your car keys in the car, many works that use it choose to employ it in a far more dramatic manner. The hero is on a quest to find the key, eventually finding some other way to reach what he needed the key forā€”and then he finds out that his initial quest was futile; the key was inside all along.
21
22In a video game, this can be used to create a DoorToBefore.
23
24If The Key Is Behind ''And In'' The Lock, one possible solution is the PaperKeyRetrievalTrick. Otherwise HairpinLockpick, SkeletonKeyCard or ShootOutTheLock may help to resolve the problem.
25
26Subtrope of the Catch22Dilemma. Compare BraggingRightsReward. If the real question is not how to open the door, but how whoever locked the door was able to leave the key there in the first place, it's a LockedRoomMystery.
27
28----
29!!Examples:
30
31[[foldercontrol]]
32
33[[folder:Anime and Manga]]
34* In one episode of ''Manga/CardcaptorSakura'', [[MacGuffinSuperPerson Tomoyo]] has been trapped in a classroom as [[spoiler: Eriol messed with the floor plan as a test for Sakura]]. Sakura needs to find her, and Syaoran says he has a magical technique that can locate lost people, provided she has left an object behind. (Not unlike a dog using scent, except it works off auras/energy signatures.) Tomoyo ''did'' have an umbrella...but it's with her in the very classroom they're trying to locate. [[spoiler: The actual solution, which Sakura eventually figured out, was to [[TakeAThirdOption convert the Shadow card]] and use its power to seek Tomoyo's shadow, following it as it went.]]
35* In one ''Manga/CaseClosed'' story, a man kept the instructions on how to open his theoretically uncrackable vault in a pouch around the neck of his dog. Then the dog accidentally gets locked into the vault. The vault's owner ends up asking Kaitou Kid to crack the vault before the dog starves to death.
36* In the third episode of ''Anime/CowboyBebop'', the only way to decrypt the special decryption program is with a cypher key that is itself encrypted, and only the protagonists know where the key is.
37* PlayedForLaughs in ''Manga/YuriIsMyJob''. The main character, Hime Shiraki, is a girl who [[IJustWantToBeLoved wants everyone to love her]]. She ends up working at a salon where the employees roleplay as members of an all-girls school, and takes part in the Blume elections, in which one student is chosen as "Lady Blume," to represent the school, and is given the privilege of making a decree. Hime considers asking for everyone to love her, but since the Blume title is decided by popular vote, Hime's friend Kanoko thinks, "Hime-chan, that's already what being Lady Blume means!"
38* PlayedForLaughs in ''Manga/YuYuHakusho''. At the start of the Chapter Black arc, Kuwabara, Botan and Kurama are searching for Hiei, since Yusuke's been kidnapped and those responsible want the four of them to come to the hideout. After the group realizes that their tools won't help find Hiei, Botan laments that Hiei isn't here, or else he could find himself with his Evil Eye.
39[[/folder]]
40
41[[folder:Comic Books]]
42* An ''ComicBook/AchilleTalon'' story has an emergency phone protected behind a glass that must only be broken with a hammer that is ''also'' behind the glass. This causes a breakdown to the policeman who wanted to use it, while another character attempts to comfort him by saying it probably prevents a lot of hammer thefts.[[note]]In real life, the hammer would be outside the glass, but chained to the box.[[/note]]
43* ''ComicBook/DisneyDucksComicUniverse'':
44** In the ''WesternAnimation/DonaldDuck'' story [[http://coa.inducks.org/story.php?c=W+WDC+206-02 "Sagmore Springs Hotel,"]] Donald, as a Hotel Manager, accidentally locks the combination to the hotel safe inside the safe. In his attempts to open it, he ends up devastating the entire hotel and destroying his uncle's important cheque.
45** Another story had Magica [=DeSpell=] tracking down the ingredients for a spell that will enhance her magical abilites to unstoppable levels. After getting run ragged tracking down various rare ingredients, she discovers the last ingredient is... the most prized possession of her worst enemy. Which just happens to be Scrooge [=McDuck=]'s NumberOneDime, and she needs the potion to ''get'' the dime in the first place. Poor Magica [[VillainousBreakdown throws a fit]] and gives up on making the potion.
46** Another story had one of Magica's attacks prompting Scrooge to buy the world's most impregnable safe to keep the Number One Dime, only for the combination to be accidentally destroyed. Since Scrooge wants to be able to ''see'' the Dime on occasion, he and Donald go to the ends of the Earth to track down the world's greatest safecracker to open it. He succeeds, gives Scrooge the combination, and leaves. Cue Magica attacking again and the door of the safe to slam shut...with the new combination inside. Cue the three crying and banging on the door. The End.
47* ''ComicBook/TheIncredibleHulk'': Amadeus Cho is a [[AwesomenessByAnalysis super-genius]] character in ''Creator/MarvelComics'' who, however, needs [[GeniusSweetTooth high-sugar junk food]] for his brain to function properly.
48** In one issue of ''ComicBook/TheIncredibleHercules'' he is kept prisoner in a society where the only junk food is locked in a vault ([[ItMakesSenseInContext long story]]), and his intelligence is faltering. He manages to reach the vault and says "After I eat the food inside I'll be smart enough to figure out how to open the vault", and only then [[ThisIsGonnaSuck realizes]] the flaw in his plan.
49[[/folder]]
50
51[[folder:Comic Strips]]
52* One strip of ''ComicStrip/TheFarSide'' had a pair of aliens trapped on Earth. As a crowd of curious humans approaches them, one of them says to the other "Well, here they come. ''You'' locked the keys inside, ''you'' do the talking."
53[[/folder]]
54
55[[folder:Fan Works]]
56* ''[[https://www.fanfiction.net/s/13561400/ Chamber Girl]]'': Ginny's wand was down in the Chamber of Secrets with her, but it had fallen into a large pool of water and she didn't know exactly where. Trying to hold her breath long enough to find it in the dark would have been impractical, especially since there was a current. Once someone comes along with another wand, though, it's a simple matter to summon Ginny's wand out. She's dumbfounded to learn how close it was to being within reach.
57* ''Fanfic/LegendarilyPopular'': Team Galactic has just managed to open the Spear Pillar when Ash arrives, and they promptly hide their equipment and evacuate. Ash, not realising they were there, consults with Giratina and decides it's best to just lock up the pillar (since it's meant to be off limits to everyone), assuming that Arceus got confused and left it unlocked after the Michina incident. Team Galactic's leader then learns that the Spear Key was amongst the equipment left inside.
58* ''Fanfic/RocketshipVoyager''. In the middle of a raging battle, B'Elanna Torres finds herself having to get through an air-lock hatch whose locking handle has been wrenched off, with the latches all on the inside. [[spoiler:She disconnects the electromagnets used to clamp the docking tunnel onto another spacecraft, and places them around the hatch mounting so their magnetic field pulls open the latches.]]
59* ''Fanfic/DestinysDivide'':
60** The system meant to drain the underground lava pools away from the lightstone cavern in Onu-Koro malfunctions when a build-up occurs and no one is able to clear it, creating a lava river cutting off the cavern and causing a lightstone shortage. The problem is that Nuparu put the panel to control and fix it on the side of the cavern, on the logic that any workers trapped in the cavern in such a scenario would need a way to get out, but neglected to consider what would happen if ''no one'' was in the cavern. Another Onu-Matoran named Damek lampshades this once Penny summarizes the situation, telling her and Takua that he'd pointed out that the panel should have been on the other side, or that there should have at least been a redundant panel, but no one listened to him.
61** Gali notes that Makuta, with his twisted sense of humor, seems to like setting up scenarios like this with the masks, putting them in places that would be easy to reach... ''with'' said mask, like putting her Mask of Levitation on top of a large cliff, seemingly anticipating how the Toa would fail to work together properly.
62[[/folder]]
63
64[[folder:Film -- Animated]]
65* In ''WesternAnimation/TheSimpsonsMovie'', Prof. Frink has invented a drill that could cut through the dome and free them all. "It's right there, out... [[ExplainExplainOhCrap side the dome]]."
66* In ''WesternAnimation/RonsGoneWrong'', the main reason for the titular Ron's glitches are that he lacks access to the Bubble network for B-Bots due to damage sustained when he was being taken to the shop. Technically it is possible to program Ron to manually access the network, but since the instructions for doing so are ''on'' the network...
67[[/folder]]
68
69[[folder:Film -- Live-Action]]
70* In the first ''Film/BackToTheFuture1'' movie, Marty is thrown into a car trunk by Biff's goons. The car belongs to one of the members of the band that was playing at the dance, who chase them off. The band tries to get Marty out, but the keys are in the trunk. This becomes a plot point later when the band manages to free Marty, but the guitarist slices his hand as he does it, forcing Marty to take over at the dance.
71* PlayedForDrama in ''Film/TheBourneLegacy''. When one of the scientists locks the door to a top secret lab and starts shooting his colleagues, an armed security guard responds, only to be told that everyone who knows the access code is already in there with the killer. By the time another guard arrives with a master key, everyone's dead except for a SoleSurvivor.
72* Early in ''Film/DarkCity'', John Murdoch goes to an automat[[note]]at type of restaurant set up like a vending machine; individual food items are placed behind small windows which open when a customer inserts money to pay for them[[/note]] to retrieve his lost wallet. One of the cooks places John's wallet into one of the food windows, meaning John has to pay a small fee to open the window and get his wallet back--which John can't do because all his money is on the other side of the window, in his wallet. [[spoiler:Desperation over the impossible situation triggers John's latent [[RealityWarper Tuning power]], and [[CuttingTheKnot he breaks the lock with his mind]] to get his wallet back.]]
73* In ''Film/TheHuggaBunch'' MadeForTVMovie, the villainess, Queen Admira, stays young by [[PhlebotinumMuncher eating young berries]], which grow on a tree she keeps locked under a glass dome. When the heroine comes to take some young berries for her grandmother, Admira catches her in the act. In her hurry to leave, the heroine accidentally leaves the key for the dome on the ground by the tree, and as the dome descends, Admira lunges toward the key, but is too late.
74* ''Film/JupiterAscending'': Jupiter runs headlong into a wall of bureacracy when attempting to claim her title, because she doesn't have any appropriate documentation of her identity -- but without it, she isn't able to fill out the paperwork to ''get'' that documentation. Eventually [[spoiler:[[CuttingTheKnot her advocate bribes a bureaucrat to sign off on her identity paperwork]]]].
75* In ''Film/LittleMonsters'' the heroes are trapped in a locked room by the villain. After MacGyvering a way for Maurice to be [[ItMakesSenseInContext reduced to a pile of clothes and slid under the door]], once on the other side he says:
76-->'''Maurice''': Any of you freaks know how to pick a combination lock?
77** Although he's simply joking and opens the door a second later.
78* In the Creator/JossWhedon version of ''Film/MuchAdoAboutNothing2012'', Creator/NathanFillion, playing the fuzz, has this happen to him.
79* This exchange from Film/SpaceBalls:
80-->''(Guard shoots the lock on the Winebago)''\
81'''Dot:''' Open the door!\
82'''Barf:''' I can't, the lock is fused!\
83'''Vespa:''' What about this door?\
84'''Barf:''' Its locked!\
85'''Vespa:''' Where are the keys?\
86'''Barf:''' Inside!\
87'''Vespa:''' Oh great!
88* In ''Film/UpTheChastityBelt'', Nick the Pick is called in to unlock Lobelia's chastity belt. However, all of his tools are in his toolbox, which is locked. And he can't find the key. The rest of film shows his increasingly desperate attempts to open the toolbox.
89* This moment happens in ''Film/TheWholeTenYards''.
90-->'''Lazlo''': You locked my son in the trunk?\
91'''Oz''': No! No, sir. He locked himself in the trunk.\
92'''Lazlo''': [pause] This I believe.
93[[/folder]]
94
95[[folder:Jokes]]
96* World War II. Hitler hears of the Staff of Moses, which can make the seas part. If the Germans can get their hands on it, they can invade England by land. Where is the staff? In the British Museum.
97[[/folder]]
98
99[[folder:Literature]]
100* A fairly standard situation in the LockedRoomMystery is for the police to have to break into the Locked Room, because the key is inside with the deceased.
101* In ''Literature/BlaTornet'', the Guardian has been sleeping on the High Altar for over a thousand years. There are a lot of prophecies about how a chosen one will one day wake him. In the meantime, one of the worst blasphemy someone can do is to touch the Guardian's holy sleeping body. It turns out that they artifact needed to wake the Guardian is in fact inside the altar: Only a blasphemer can heal the horrible wrong that happened so long ago, and lead the civilization back on the quest the creators had originally intended.
102* ''Literature/{{Discworld}}'':
103** There's a recurring gag in ''Literature/ThiefOfTime'' about "opening the box with the crowbar you will find inside". The solution is [[spoiler: get some help; in the literal example early on, Igor is inside the box with the crowbar and hands it to Jeremy through the slats.]]
104** In ''Literature/{{Jingo}}'' the Bursar has locked himself in the Unseen University safe and taken the key with him. "It's not even as if there's a keyhole on the inside".
105** In ''Literature/GoingPostal'', Vetinari plays mind games with condemned criminals--if they use the spoon they get with their gruel to try and dig a stone block out of the wall as part of an escape attempt (ruining the spoon in the process), they finally pull the block out only to find a little alcove behind with a shiny new spoon in it.
106** ''Literature/GuardsGuards'' has an interesting example. Vetinari is locked in the dungeon by [[EvilChancellor Wonse]] after the dragon becomes King, and when Vimes manages to break in and find him, he realizes that the dungeon has a complicated locking mechanism ''on the inside'' so that Vetinari is, at that moment, the safest person in the city. He also, of course, has a key to the dungeon, and promptly uses it once the dragon is defeated.
107* ''Literature/DragonsEgg'': When the science and technology of the neutron-star dwelling Cheela develops far beyond that of humans, they send humans an encyclopedia... with entries encrypted with keys based on the new knowledge. For instance, the encryption key for the knowledge behind {{faster than light travel}} is engraved on an object in another star system. Thus, humans have to [[FigureItOutYourself advance by their own efforts]], but will be able to verify the answers and perhaps learn additional details when they do.
108* ''Literature/InsertKnobAInHoleB'': The machine that can correctly put together the components of any device, is disassembled into its components for shipping.
109* Towards the beginning of the ''Literature/LordDarcy'' novel ''Too Many Magicians'', Master Sorcerer Sir James Zwinge is in apparent distress in his hotel room. But he'd enchanted the lock to his room so that only one copy of the room key could open the lock - his personal copy, which was with him in the room. The people responding to his call for help had to smash a hole in the door with an ax to get inside, by which time he'd bled to death.
110* ''Literature/ASongOfIceAndFire'': As it turns out, to solve a prophecy about how to get dragons back into the world so you can be very powerful through controlling them again... you kind of needed to remember enough about how to incubate dragon eggs, first, to understand what the hints in the riddle were likely to be blathering on about to spot which circumstances would help to hatch them successfully. Easy. Not. Some, like Aegon V, tried brute-forcing the thing using overwhelming power (lots of GreekFire) and some best guesses: [[EverybodysDeadDave it failed]]. Others might have tried to be sneaky chessmasters (looking at you, Bloodraven) trying to move people and circumstances into likely positions -- to then get burned by the unexpected consequences of getting the code a little wrong back-blasting them. Alternatively, you ''could'' just totally luck out by hitting on the actual combination randomly without meaning to solve the thing... as Daenarys has. She doesn't seem to even know that a full prophecy exists, although she might still know some of the info it had in it. Problem is, once successfully incubated and hatched, you then also need to, you know, find a way to direct and the control your dragons, since how to train them has also been lost to the mists of time. And, there's only one way to learn, now: playing with fire by trial and error. Which a lot of people will be very unlikely to be willing to let you do, so will have hidden or destroyed pieces of information you would have needed to get to this point in the hopes of stopping you getting to the dragon-riding stage in the first place... Um. No wonder the Targaryens repeatedly hit problems with trying to force that prophecy open with the equivalent of either a crowbar or lockpick...
111** For a simpler example, in ''Literature/AStormOfSwords'', after Sam kills a White Walker with a dragonglass dagger, Lord Commander Mormont remarks that they need more. Sam notes that Jon found some at the Fist of the First Men, but Mormont points out that since the Others have overrun that location, they'll need the dragonglass weapons found there to even get there.
112* A variation in ''Star Corps Agent''. The protagonist gets his hands on a box his partner was killed for. He can only guess what's inside. Possibly a way to get advantage in the war with the Radnits. But would it help him get off the hostile planet alive to deliver it to Earth? It could be a powerful handheld weapon that he could use to shoot his way through the spaceport cordon. Or it could be designs for a ship part, which are utterly useless to him at the moment. But the box is of a type that can only be locked from inside, which means that if he opens it, he won't be able to use it to barter for a way off the planet. [[spoiler:He ends up opening it anyway and finds a genetically-engineered symbiote that turns him into a Super (normally, Supers are born). He swaps the symbiote in the box for his disguise symbiote, then uses telekinesis to lock the box from the inside. The Radnits scan the box and detect a symbiote, so they let him leave.]]
113* Subverted in "The Talking Stone" by Creator/IsaacAsimov, where people are searching for an uranium asteroid an illegal miner found, and due to the miners dying in an accident, all they have is a statement by a silicon based alien that the coordinates are "on the asteroid" (the alien died right after saying that). [[spoiler: In the end it turns out that the alien wasn't [[ScienceMarchesOn particularly up to date]] in astronomy, and the coordinates were actually ''on the ship'' - [[HiddenInPlainSight hidden among the registration codes of the equipment]]]].
114* When humanity starts reverse-engineering alien technology in ''Literature/TroyRising'', their ArtificialGravity prototypes are clunky, prone to lethal malfunctions, and flies to pieces under anything but the lightest use. By the time they discuss this with Tyler Vernon, the scientists have worked out that the only tool capable of making an efficient gravity generator is another efficient gravity generator.
115[[/folder]]
116
117[[folder:Live-Action TV]]
118* In the ''Series/BlackBooks'' episode "The Big Lockout" Manny bought a security system. It was very simple, you press 05 to arm it and then when you go out it will lock automatically. And then when you come back in, you punch in the code and the lock will open. Bernard quickly points out the slight problem with this that if the door's locked, he can't get in to punch in the code to open the door. As it turned out, Manny didn't know the code anyway.
119* In an episode of ''Series/CarolineInTheCity'', Del and Charlie get trapped in Del's car due to a snow plow and Charlie accidentally locking the keys in the trunk instead of an ice scraper.
120* [[Recap/CheersS6E22 An episode]] of ''Series/{{Cheers}}'' had Woody trying to install a [=VCR=] when someone handed him the instructional video that came with it. ''[[TheDitz Woody]]'' of all people incredulously asks, "We hook it up. . .and ''then'' we watch the video on how to hook it up?!"
121* Parodied in a 2011 episode of ''Series/TheColbertReport''. While discussing cloud storage, Stephen proclaims he stores all his information in the cloud, including info needed to answer the security questions when forgetting his password to the cloud.
122* ''Series/CornerGas'':
123** Hank had a lockbox with a combination lock. One of the things inside the lockbox was a notepad where he wrote down important stuff he needed to remember... such as the combination to the lock.
124** Hank once locked his keys in his truck. He had a great deal of difficulty trying to unlock it with a coat hanger, until Davis passed by and notified him that [[FailedASpotCheck his passenger-side window was open]].
125* The ''Series/{{Friends}}'' episode "[[Recap/FriendsS1E14TheOneWithTheCandyHearts The One With the Candy Hearts]]" depicts Rachel, Monica and Phoebe attempt a cleansing ritual proposed by Phoebe to get rid of their romantic bad luck by burning mementos of their past boyfriends. However, the final "ingredient" of Phoebe's proposed ritual is the semen of a righteous man; as Rachel points out, if they had that available they wouldn't ''need'' to do the cleansing ritual in the first place.
126* One episode of ''Series/FraggleRock'' had Doc and Sprocket acquiring a locked trunk and spending the entire episode trying to get it open. When they finally do, all that's inside is the key.
127* That happens in an episode of ''Series/GetSmart'' too, regarding the wall safe in the Chief's office.
128-->'''Chief:''' Have you got the new combination, Max?\
129'''Max:''' ''New'' combination?\
130'''Chief:''' Yes, according to standard security procedures we changed the combination yesterday. Do you have it?\
131'''Max:''' Well, I didn't memorize it, but I had the usual three copies made.\
132'''Chief:''' Where are they?\
133'''Max:''' I burned them.\
134'''Chief:''' Oh, yes. Of course. Do you have the Master Copy?\
135'''Max:''' No I don't, Chief. But I put it in a place where no one will get it.\
136'''Chief:''' Where, Max?\
137''Max looks at the wall safe. ''
138* On two separate occasions on ''Series/ILoveLucy'', Lucy gets locked in a meat freezer and a steamer trunk. Both times, she has the key to the lock.
139* In one episode of the children's magazine show ''Jigsaw'', the cast were given a telephone with which to summon the OO Men for their OnceAnEpisode appearance. The telephone was in a sealed, glass-fronted cabinet, so there was also a hammer to break the glass. The hammer was inside the cabinet. Subverted when this was pointed out to the OO Men, and they explained that it was perfectly simple -- the cabinet ''wasn't'' sealed after all. You opened it, got out the hammer, closed it again, and used the hammer to smash the glass.
140* Happens to ''Series/MacGyver1985'' on occasion. The second episode of first season had actually MacGyver in a room which was locked from outside with key still in door. [=MacGyver=], [[MacGyvering being MacGyver]], puts a map through the space under the door, then puts his knife to the lock to push key out of it so it falls on map, with which he then pulls it in.
141* On the Australian series ''Series/Utopia2014'' (also known as Dreamland) in the episode "Frequently Avoided Questions", the security on Tony's computer is upgraded so he can't unlock it without a code that's sent to his phone. Unfortunately, he can't unlock his phone without a code that's been sent to his computer.
142* ''Series/{{Vincenzo}}'': In episode 13, as Vincenzo and Young-woon hurriedly cover their tracks after exiting the vault full of gold, Vincenzo chucks Young-woon's coat into the vault. Afterwards Young-woon has to deliver the bad news that the biometric data they need to access the vault was in a pocket of the coat.
143* ''Series/YoungSheldon'': In "Little Green Men and a Fella's Marriage Proposal", Georgie and Mandy lock the keys in the car while [=CeeCee=] is inside.
144[[/folder]]
145
146[[folder:Tabletop Games]]
147* Unwinnable games of ''TabletopGame/{{Freecell}}'', where the cards you need are locked underneath cards you can't move anywhere.
148* Unwinnable layouts in ''TabletopGame/MahjongSolitaire'' result when needed tiles are trapped between tiles that can't be accessed without them.
149* Yet another of the many ways the GM can make your life miserable in ''TabletopGame/{{Paranoia}}''. You're given a useful piece of tech, but if you use it wrong, it will blow up and kill you. Where's the instruction manual? That item is above your clearance level, citizen.
150* This is basically what makes some deals of ''TabletopGame/{{Solitaire}}'' {{unwinnable}}. If the cards onto which you'd need to move a face-up card all happen to be face down behind it, then they might as well be keys on the wrong side of a locked door.
151[[/folder]]
152
153[[folder:Video Games]]
154* In ''VideoGame/ThirteenSentinelsAegisRim'' this trope is frequent due to the emphasis on POV switching: each POV character has two or three plot locks, some of which require to have played through another character's story in order to unlock... and the former's next plot lock could be tied to another event in the latter's story. The most egregious example is Takatoshi Hijiyama's final plot lock, which requires to have viewed an event in Renya Gouto's story... which requires you to have all other characters, including Takatoshi himself, at 80% story progress at least. Luckily for you, when Takatoshi locks, he's already at 80%.
155* In ''VideoGame/{{Adventure}}'', on the hardest difficulty, the items were distributed in a kind-of-random manner, which occasionally resulted in the gold key being locked in the gold castle. Despite entering the gold castle being a necessary step in completing the game (the last step, in fact), this did ''not'' make the game {{unwinnable}}, as sooner or later [[BanditMook the bat]] would fly in and take the key out.
156* ''Videogame/AncientDomainsOfMystery'': There's an intentionally useless item called the scroll of cure blindness. You can't read scrolls when you're blind. ([[DevelopersForesight It has some other, more creative uses, however.]])
157* ''VideoGame/BanjoKazooie'': In Gruntilda's Lair, the Jiggy pertaining to Bubblegloop Swamp's Witch Switch is in a barred cavity within a large statue of Gruntilda herself. Hitting that Witch Switch does ''not'' open the bars, it instead blows open the cone part of the statue's hat, revealing a hole. You must then drop down into the hole from the floor above in order to reach the Jiggy. Upon collecting the Jiggy, the bars will open, allowing you to escape.
158* ''VideoGame/BanjoTooie'': When you first enter Grunty Industries, the front door to the factory will be locked, preventing you from making any significant progress in the level. However, if you search around a bit, you'll find the switch that opens up the factory's train station. While the station is inside of the locked building, you can leave the level, backtrack to another train station, then ride the train into the station inside Grunty Industries. As you explore the factory, you'll eventually be able to open the front door from the inside.
159* ''VideoGame/BioShock1'': the head dentist has been killed and thrown through his office window, and the only way to get in is to use the Telekinesis Plasmid to get his key off the wall behind the window.
160* An early sidequest in ''VideoGame/BorderlandsThePreSequel'' requires you to overload an electronic safe that the owner has lost the password to, in order to force it open. Turns out she put the password in the safe.
161* ''VideoGame/CastlevaniaSymphonyOfTheNight'': The Mist transformation is found behind bars that gives out the message "Mist could pass", requiring you to loop around Colosseum so that you can get to the transformation from the other side.
162* ''VideoGame/{{Dragontorc}}'': The key to open two locked doors in the Sanctuary of Halgor is in Halgor's tomb, behind one of the doors, so the player needs to find alternative means to get to it.
163* ''VideoGame/DwarfFortress'': Embarking without an anvil walks the line between SelfImposedChallenge and UnintentionallyUnwinnable. You need an anvil to forge anything out of metal, ''and anvils can't be made out of anything else''. [[DownplayedTrope But you can buy one from a merchant caravan that will show up in a few in-game months.]]
164* It is common in ''VideoGame/TheElderScrollsIIIMorrowind'' to find keys to the various doors of a dungeon or secure building in the farthest reaches of that locations. Downplayed in there is still value in finding the key, as it can unlock other optional areas within as well as sometimes chests or other containers, saving you the trouble of picking the locks or using spells to open them. A prime Justified example (with one notable quest-related exception) are the [[TheClan Great House]] vaults in Vivec. In most cases, the only keys are carried by the [[ChurchPolice Ordinators]] standing guard within the vaults, meaning you will have had to pick the locks to get inside and the key is now useless to you. Justified for them, however, so they can come and go.
165* ''VideoGame/EscapeSimulator'': A variation occurs within the first Omega Corporation room; a post-it note on a briefcase states that the combination to it is on a bracelet... that is currently ''inside'' the case. The solution to obtaining the code is by [[spoiler: putting the case in the metal detector.]]
166* In ''VideoGame/LaMulana2'', the Corridor of Blood functions as a back door into areas that are initially locked off. In at least one instance ([[spoiler:Eternal Prison]]), this is required to retrieve an necessary item to unlock the area's front door.
167* ''Franchise/TheLegendOfZelda'':
168** In ''[[VideoGame/TheLegendOfZeldaALinkToThePast A Link to the Past]]'', there's one locked treasure chest whose only key, you are told, is inside the chest, and you can never open it. Fortunately you can drag it with you until you find a master lockpicker.
169** In ''VideoGame/ALinkToThePastRandomizer'', the randomizer logic explicitly averts this; but the more recent versions make an exception for the specific cases where a Small Key is the ''only'' thing behind an ordinary lock. Also, in the two dungeons [[note]]Skull Woods and Swamp Palace[[/note]] where the Big Key isn't required to reach the boss (or any other chest), the Big Key can be locked inside the Big Chest, since it doesn't prevent completion of the game.
170** ''[[VideoGame/TheLegendOfZeldaLinksAwakening Link's Awakening]]'':
171*** An UnintentionallyUnwinnable example in Angler Tunnel: the door one particular InterchangeableAntimatterKey is meant to be used on has another behind it, but by making a tricky jump it can be used on a different door that doesn't have a replacement behind it.
172*** Played with in the Key Cavern, also averting PermanentlyMissableContent. A hub room in one part of the dungeon has four locked doors. Three of them are dead ends that also contain a key (which can be used on one of the remaining locked doors), while the fourth allows the player to proceed (but does not give the player a key, so the other doors accessible from the hub remain locked). Near the end of the dungeon, an extra key can be obtained to access any locked rooms the player hadn't entered.
173** ''[[VideoGame/TheLegendOfZeldaTheMinishCap The Minish Cap]]'': Talon lost the key to Lon Lon Ranch, and the spare key is inside the house. The solution is to shrink down to Minish size, enter the house through a small hole, pick up the key inside and bring it to him.
174** ''[[VideoGame/TheLegendOfZeldaSkywardSword Skyward Sword]]'':
175*** Defeating the Stalfos in Skyview Temple will award you with the Beetle. However, the door to the room [[KillEnemiesToOpen will not open upon defeating the Stalfos]], as it can only be opened via the switch outside. To escape, you must send the Beetle through a raised hole in the wall and hit the switch with it.
176*** At one point in the Ancient Cistern, a key is held by a {{Mook|s}} on the other side of some bars. The solution is to use the whip to grab the key.
177** ''[[VideoGame/TheLegendOfZeldaBreathOfTheWild Breath of the Wild]]'':
178*** The shrine containing the bomb rune is surrounded by walls, and the gate is blocked by a pile of rubble that can only be destroyed by... bombs. It serves as a reminder to players of previous Zelda games that in this one, [[spoiler:just climbing over the wall]] is a viable option. Alternatively, [[spoiler:the lasers fired by the [[NotQuiteDead Decayed Guardian]] on the near side of the rubble hit with explosive force, so some DeadlyDodging might get you through if you're careful or lucky.]]
179*** A shrine has a literal example, where a chest containing the key you need to get into a cell is inside the cell. The solution is to [[spoiler: shoot a burning arrow through the cell's bars into the chest, which is made of wood. Once the chest burns up, you can use the Magnesis rune to pick up the key.]]
180*** The upper reaches of Death Mountain are so hot that Link will ''[[ManOnFire catch fire]]'' the instant he enters the hot zone, and rapidly start losing health as a direct consequence. Fireproof Elixirs, which negate this effect, can be bought at Eldin Ranch or off of Goron merchants at lower altitudes, but the very nature of the game means you could very well not approach from that direction, and even then the elixirs don't last forever (though one Fireproof Elixir is enough to get you to Goron City, and three will last you long enough to do some exploration in the process). Fireproof Lizards and Smotherwing Butterflies exist to make more elixirs, and Flameguard armor can be bought in Goron City to protect from the extreme heat... and both are found in the ultrahot parts of Death Mountain. You can circle around to approach from the south, or you can cook enough food to feed all of Hyrule and [[HyperactiveMetabolism chomp on it until you get to Goron City]]. As a bonus, [[DevelopersForesight the armor merchant freaks out if you talk to him without active flame resistance]].
181*** Similarly, while still on the Great Plateau, you need frost resistance to get to one of the shrines. You can either learn how to craft frost resistance food at this early stage, and also receive a frost resistance armor as a reward, or if you can manage to make it all the way to the highest point in the cold zone (by building lots of camp fires along the way, carrying a torch whenever you've got a free hand, and eating food to heal whatever hearts get lost) the Old Man will reward your tenacity with the same piece of armor.
182* In ''VideoGame/MegaManMaverickHunterX'', Vile unlocks different types of weapons as he defeats bosses, and for the most part he has at least one that's equivalent to each of X's weapons. Defeating Armored Armadillo unlocks EnergyBall weapons, including Peace Out Roller (Vile's equivalent to Electric Spark)... which is ''Armored Armadillo's weakness''. While he's also weak to some of Vile's RocketPunch attacks, none of them can destroy his armor the way Peace Out Roller can.
183* In the NES port of ''VideoGame/MetalGear'', the keycard required to enter Building No. 4 is inside the building itself. [[spoiler:This requires Snake to get captured on purpose in order to get inside said building.]]
184** A similar situation occurs in ''VideoGame/SnakesRevenge'' when the player reaches the entrance of the first enemy base. Only this time [[spoiler:it's one of Snake's comrades who allows himself to get captured, so that Snake can sneak in undetected.]]
185* The ''Franchise/{{Metroid}}'' series uses this extensively for things like Power Bomb capacity upgrades, hiding them behind a door or wall that requires a Power Bomb to open.
186* In ''VideoGame/MightAndMagic V'', the key to the Western Tower is inside the Western Tower. You're supposed to go into the Western Tower through the Skyroad entrance, which isn't locked, to get it.
187* The first level of ''VideoGame/MysteryOfTimeAndSpace'' has the key in the keyhole on the other side of the locked door. To get it, [[spoiler:you have to [[PaperKeyRetrievalTrick slide a poster underneath the door and then push something small enough through the keyhole]] to make the key drop onto the poster, which you can then retrieve]].
188* ''[[VideoGame/PaperMario64 Paper Mario]]'':
189** In Toad Town, there is a locked house that you cannot enter. However, once Sushie joins your party, you can reach a pipe in the Toad Town Tunnels that will lead you into the house. Inside is the key.
190** When you first meet Bombette, she is locked up in the dungeon at Koopa Bros. Fortress. As there is no door to the cell, you need to travel to the floor above and trigger [[SchmuckBait a trapdoor]] that will drop you into the cell. Fortunately, Bombette will join your party at this point, and you can use her ability to blast through the wall. Bombette will then realize that she could broken out sooner [[ForgotAboutHisPowers if she had actually thought to do so.]]
191** The Super Hammer is located in a small room in Dry Dry Ruins that is sealed off by a stone block, although you'll need the Super Hammer in order to break the block. Fortunately, it is possible to fall down into the room from a higher point, grab the Super Hammer, smash the block and the leave.
192** The Ultra Hammer is located behind a metal block inside Mt. Lavalava. Similar to the above example, the Ultra Hammer is needed to break the metal block. Instead, you need to solve a small block-pushing puzzle and take the long way around in order to reach the Ultra Hammer. From there, you can break the metal block as a shortcut out of the room.
193* ''VideoGame/PaperMarioTheThousandYearDoor'':
194** In Creepy Steeple, the room that the parrot is in is locked; the only way in is via a secret passage. Upon entering the room, you can find the key that will unlock the door, which is crucial, as you are unable to go back through the secret passage.
195** The Ultra Boots are located behind a wall of boxes in Riverside Station. As the wall is too high to surmount, you must find another path that will lead you around to where the boots are. Upon obtaining the boots, you can jump up to a pipe and shimmy across it to bypass the boxes.
196* In ''VideoGame/Persona5'', during the infiltration of Madarame's Palace, the group finds a door that is guarded by a laser barrier, and a sign helpfully points out that the laser beams can be disabled in a control room on the other side of the barrier. Luckily, they have a way to get in: since the door matches one in the real Madarame's house, Morgana picks the lock so that Madarame witnesses it being opened, thereby changing his cognition that the door is unopenable and resulting in it being opened in the Metaverse. At that point, the protagonist and Ryuji take advantage of the window of opportunity to go inside and reach the control center so they can deactivate the beams.
197** From a gameplay perspective, the only way to unlock the ability to read two chapters at once requires a lot of effort. You need to unlock Jinbocho, and purchase and read "Master Swordsman," "Call Me Chief," and "Reckless Casanova" (which are the only books that take three sessions each to read) before you can buy the "Speed Reading" book. Once you read that book, you can read all the others in one night, but since all other books require one or two sessions to read without the book, this ends up being an AwesomeButImpractical perk. ''[[UpdatedRerelease Royal]]'' averts this by allowing you to obtain the "Speed Reading" book for free from the school library, starting in July.
198* In ''VideoGame/PokemonPlatinum'', the only way to obtain Regigigas is to have all three of the other Regis... which can only be obtained by getting a Regigigas through events! The only other way to get them (and the only way to get Regigigas period in ''Diamond'' and ''Pearl'') is to transfer them from [[VideoGame/PokemonRubyAndSapphire the Generation III games]].
199* Invoked & defied in ''VideoGame/QuestForGloryV''. Your room at the inn has a storage chest, and you can put your room key in it. However, you cannot keep the key there: The narrator will go on about how you "realize your mistake", and the game will automatically make you take your key back. This mechanism is still in place after you install the "mystic magnets" that will let you teleport into your room (without the key) whenever you want to.
200* ''VideoGame/RatchetAndClankGoingCommando'' has a similar circular version. On one planet there is a wrench upgrade in a glass case with a "use wrench to break glass" note attached. Nearby in another glass case there is a rock with a "use rock to break glass to get wrench to break glass to get rock" note. As Clank tries to figure out the puzzle, Ratchet [[CuttingTheKnot just smashes the wrench's case with his current wrench]] and takes it.
201* The InteractiveFiction game ''VideoGame/SavoirFaire'' has one locked door where you can see the key through the keyhole. The solution to unlocking this door is more creative than the usual ones, due to the game world's FunctionalMagic which lets you "link" similar things to each other so that doing something to one of them will similarly affect the other: [[spoiler:link the key to your sword (it's ornate enough to allow the link) and then turn your sword in its sheath. Voila, an unlocked door!]]
202* ''VideoGame/StarshipTitanic'' has two, one that you have to resolve and one that you have to avoid.
203** The first is a circular version -- in order to obtain a hammer, you need to press a button with a long stick. However, in order to retrieve the long stick, you must break the glass covering it with a hammer. [[spoiler:Fortunately, there's a parrot perch that is sufficiently long to press the button and retrieve the hammer.]]
204** The second example makes the game UnintentionallyUnwinnable if you trigger it. When you first pick up the parrot, it escapes after a few seconds and gives you a feather, which [[spoiler:unblocks the Mother Succ-u-bus in the Bilge Room, letting you retrieve any items that were posted without an address]]. However, if you move quickly enough before the parrot escapes, you can instead [[spoiler:post it before it drops the feather -- and if you don't provide an address, then it gets sent to the Bilge Room...]]
205* ''VideoGame/UltimaVI'': The Unlock Magic spell, which is the only way to unlock magic locks, can only be acquired in a small handful of places, one of which is to purchase it from a mage named Nicodemus... who makes a habit of staying holed up in his house, with the doors magically locked. As you may have gathered, [[TheHermit Nicodemus isn't fond of the public]].
206* In ''VideoGame/ZorkGrandInquisitor'', there is a glass box ("In case of adventure, break glass") containing a spell scroll, a sword and a hammer. It can be easily opened, but the clamp holding the sword will not let go. The obvious solution is to [[spoiler:open the box, take the hammer, close the box, break glass. Then the clamp lets go and you can take the sword]].
207[[/folder]]
208
209[[folder:Webcomics]]
210* ''WebComic/DarthsAndDroids'' In [[https://www.darthsanddroids.net/episodes/1643.html episode 1643,]] Jim -- a player known for plans that he ''thinks'' are brilliant -- has his character suggest a method of finding the planet Toprawa that ultimately hinges on raiding the Imperial data facility... which is on Toprawa.
211* In ''Webcomic/{{Goblins}}'', the Key of Darkness is inside the locked Well of Darkness because the adventurer who carried it in was killed by a trap.
212* Zoƫ's [[http://www.sluggy.com/comics/archives/daily/19970923 first line]] in ''Webcomic/SluggyFreelance'' is "Help! I need a phone! I locked my keys in the car with the engine running!" This is also referenced [[http://www.sluggy.com/comics/archives/daily/20010908 later]] when she temporarily moves to a place with normal people. [[MyFriendsAndZoidberg (Oh, and Clem.)]]
213* {{Subverted|Trope}} in ''Webcomic/TowerOfGod'', episode 295: the Ten Bosses of the Name Hunt Station are trying to keep the protagonists from finding a certain key by having one of their number keep it hidden in a room that can only be opened with the same key. It turns out that that part doesn't really matter, though, since the room can't be locked from the inside.
214* In ''Webcomic/TheWhiteboard'', Doc and Roger are faced with the need to open a safe without destroying the contents, ruling out their usual more "energetic" approaches. They do figure out a nondestructive solution, and [[http://the-whiteboard.com/autotwb3704.html once the safe's open]], they find - the combination (along with a few other things). Subverted when it turns out the combination is to something else entirely.
215[[/folder]]
216
217[[folder:Web Original]]
218* When WebVideo/TheAngryVideoGameNerd needs to open the plastic packaging of a Tiger Electronics wristwatch game, [[WebVideo/YouKnowWhatsBullshit the Bullshit Man]] [[TheCameo randomly shows up]] to hand him a pair of scissors, then launches into one of his signature rants complaining about plastic packaging that needs scissors to open, noting that ''scissors themselves'' often come in such packaging.
219* The first gift that the {{Lets Play}}er LetsPlay/{{raocow}} received during 2014's [[https://www.youtube.com/watch?v=B0r5auwzbF4 'an advent Christmas thing']] from his community on the Talkhaus was labelled 'Good luck!!!', and was sealed to the degree that raocow had to source a knife and a pair of scissors to open it. [[spoiler:It contained another knife.]]
220-->'''raocow:''' ''[between fits of laughter]'' Go to hell!
221* Averted in WebVideo/StuartAshen's review of the Packbuster (a multitool for opening the packaging around products). The blister pack has a notch cut into one corner so you can open it without using scissors or the Packbuster. As Stuart puts it: "Extra bonus points for that; that is good. There's nothing like buying some sort of device for packages and ''not being able to get in the package.''"
222* ''[[http://www.rinkworks.com/stupid/ Rinkworks Computer Stupidities]]'':
223** A computer teacher plans to hold a class on routers and requests a half dozen from a colleague. The routers are shipped in a pair of cargo boxes secured by combination locks. The page with the combinations is inside one of the boxes.
224** A user tries to sign up with an Internet Service Provider, only to discover that access to that ISP's website to set up the account requires a username and password from that ISP. In other words, you need to be a member to access the site to become a member.
225* ''Roleplay/RubyQuest'': After smashing open a medicine cabinet and retrieving the tranquilizer inside, Ruby and Tom confront Stitches and tranq him. They notice he was carrying the key to the medicine cabinet. This is also an example of OffTheRails - Weaver (the GM) expected the players to kill Stitches to get the key, but a bit of CuttingTheKnot meant they didn't need to.
226[[/folder]]
227
228[[folder:Western Animation]]
229* In ''WesternAnimation/TheAmazingWorldOfGumball'' episode "The Sock", Mr. Small gets locked in his filing cabinet, and when telling Gumball and Darwin how to get him out, he realizes the key he's telling them about is on his person.
230* Parodied in the ''WesternAnimation/FamilyGuy'' episode "Petarded", where a flashback shows one incident where Peter locked his keys ''outside'' his car, trapping himself inside.
231* In one version of the backstory for ''WesternAnimation/HeManAndTheMastersOfTheUniverse1983'', Prince Adam was questing with Teela for what would later become his magic sword. Wielding this sword was the only way to enter Castle Grayskull. And yes, the sword was inside the castle.
232* ''WesternAnimation/HouseOfMouse'': One of Mickey's opening monologues has him mentioning that [[WesternAnimation/SnowWhiteAndTheSevenDwarfs the Seven Dwarfs]] left their keys in their minivan, and that it took a whole hour to get Dopey out. Footage of the incident shows Dopey mockingly waving the keys from inside.
233* In a cartoon episode of ''ComicBook/LuckyLuke'', the usual criminal Dalton Brothers were trying to be honest, and to have a honest work, they open their own bank. At one point Averell Dalton is commanded to open the safe, but he can't remember where the key is, so he opens the safe with dynamite. It turns out that the key is inside, and Averell closed it in there "for safety". Joe Dalton is not amused.
234* In one episode of ''WesternAnimation/PhineasAndFerb,'' Dr. Doofenshmirtz finds the door to his truck won't close. He spends sometime struggling with the door, finally gets it shut and locked, and then looks in through the window:
235-->'''Doofenshmirtz:''' "Those are my keys, aren't they?"
236* In ''WesternAnimation/TheRaccoons'' episode "The Intruders!", Cedric and Ralph accidentally get locked inside of Cyril's vault, which is programmed to not open up until Groundhog Day. Cyril points out that there is a key that Cedric can use that can override the system, which is locked in a safe within the vault. Or at least there would have been, if the pigs had actually bothered to put it there...
237* ''WesternAnimation/{{Rugrats}}'': In the B-plot of "[[Recap/RugratsS6E31BeMyValentine Be My Valentine, Part 1]]", Chas rents a car to go with his costume for a Valentine's Day party the parents and their children are going to. However, he accidentally leaves his keys in the car, which is locked, so the adults try unsuccessfully to unlock the car door.
238* Played in ''WesternAnimation/TheSimpsons'' episode "Marge Vs The Monorail, where a scientist said to Marge the monorail "better to have a damn good conductor". GilliganCut to Homer trying to pry open the monorail's cockpit door because he locked his keys in there.
239-->'''Homer (to Bart):''' Get a rock.
240* In ''WesternAnimation/WhatsWithAndy'' episode "The Great American Lock-In", [[ThePrankster Andy]] reverses the locks in the front doors of his school, then lures in [[TheBully Lik and Leech]]. Unfortunately, he has dropped the keys outside of the school.
241* An episode of ''WesternAnimation/TheWildThornberrys'' has the family locked outside of the van whose new security system can only be opened with a remote control, and said remote control got locked inside the van.
242[[/folder]]
243
244[[folder:Real Life]]
245* This trope is possible for anybody who keeps the passcode to unlock their mobile device in a writing app within the device itself.
246* The doors of many apartments and hotel rooms behave like most padlocks: The key isn't necessary to lock them (simply closing them is enough), making it very easy to lock the keys inside. Dorm rooms as well, as many a college student who forgot their key when they go to take a shower can attest to. Hotels, at least (since the advent of keycards), can give you another key as long as you can prove it's your room.
247* Many cars avert this by making the front doors require the key to be locked from the outside (by disabling the "lock while open" feature). One can still lock self out using the back doors, but you'd almost certainly have to be doing it on purpose. It's also worth noting that this and similar safeguards came about ''because'' locking your keys in the car was such a pervasive issue. It may be largely averted now, but that's a relatively recent development. However, it can still be possible to manually lock the door by pushing the lock post down, even if the electric lock will unlock the door. And sometimes it will only prevent locking if the key is in the ignition, but not if it's sitting in the seat.
248* In his memoir ''Carrying The Fire'', Apollo 11 astronaut Michael Collins devotes some time to explaining why good cockpit design is important. He describes an example of bad cockpit design: there used to be an Air Force trainer with a placard mounted on the canopy rail that listed all the steps of the ejection procedure. Unfortunately, the first item on the list was ''jettison the canopy.''
249* Many trains in Great Britain are provided with little hammers that have a notice saying that in the event of an emergency, the hammer should be used to break the windows of the train. The little hammer is always in a little box with a transparent cover and no way of opening the box or breaking into it. Many travelers have wondered how they are supposed to break the glass to get the hammer that allows them to break glass.[[note]]The "glass" on the box is actually made so you can use any blunt object, including fists, to break it safely, unlike the actual windows.[[/note]] An even more extreme variation in some Mexican cities: the hammer needed to break the glass is actually outside the glass box... covered by a metal case that's screwed to the wall.
250* If a [[Creator/{{Microsoft}} bell.net]] user forgets what their password is or their account is hacked and the password is changed, they are still [[{{Troll}} required to log in to reset it]], despite the fact that without the correct password, logging in is now impossible.
251* Some real-life escape rooms will use this technique as part of their puzzles: the door to the next part of the room will be sealed, and the only way to unlock it is by opening the door from the inside. This is usually a sign that there's a secret passage or hidden entrance that allows players to enter the room another way, often involving an AirVentPassageway. Once inside, the door can be opened to let everyone else in; this also serves as DevelopersForesight, since it allows people who ''can't'' use the secret passage to continue to play.

Top