Keyhole

A Keyhole is a gateway in each world that leads to the heart of that world. The Heartless invade worlds and search for their Keyholes. Upon discovering the Keyhole, the Heartless will enter it and eventually devour the world's heart. After a world's heart is consumed, the world crumbles, and fades from existence. It is said that, if the Keyblade locks a world's Keyhole, it can never be opened again.

Kingdom Hearts Birth by Sleep
When Aqua travels to the Throne Room of the Land of Departure with Ventus's comatose body, after being named the only Keyblade Master successor of Eraqus and after finding her late Master's Keyblade, she uses it to access the Land of Departure's Keyhole in order to transform it into Castle Oblivion, and the Throne Room into the Chamber of Waking, in order to keep Ventus's motionless body safe.

The Heartless invaded Destiny Islands, the home of Sora, Riku, and Kairi. Not only did they attack the islands in search of the Keyhole, but also to find the Keyblade Master and one of the Seven Princesses of Heart, who is Kairi. The islands were eventually destroyed when the Heartless attacked Kairi and managed to get into the Keyhole (located in the Secret Cave). Sora ended up in Traverse Town by going through a Corridor of Darkness (which opened during the islands' destruction), while Riku ended up in Hollow Bastion. Kairi's body was found by Maleficent. In Traverse Town, Sora learned from Leon and Yuffie that the Heartless took over their world by order of Maleficent. Sora, along with Donald and Goofy, decide it is their duty to travel from world to world and seal the Keyholes using the Keyblade.

Maleficent and her gang of villains were in the midst of completing an artificial Keyhole in Hollow Bastion by obtaining the seven hearts of the Princesses of Heart. That Keyhole, once completed, would lead them into Kingdom Hearts, the heart of all kingdoms and source for immeasurable power and knowledge. However, without Kairi's heart the Keyhole remained incomplete. Her heart was actually dwelling inside Sora's. Sora eventually released Kairi's heart using the Keyblade of heart, completing the Keyhole. Ansem, who possessed Riku's body, ventured into the Keyhole in order to get to Kingdom Hearts. Sora sealed the Keyhole and then followed Ansem to the End of the World, a place formed from the remains of worlds taken by the Heartless. Deep in the darkness of that place lay the Door to Darkness, with Kingdom Hearts lying beyond it. There, Sora battled Ansem. Ansem then opened the door so he could obtain the darkness inside Kingdom Hearts, but Sora called out the light from inside the door and Ansem was destroyed. Sora, Riku and King Mickey sealed away Kingdom Hearts by locking the Door of Darkness on both sides. All of the destroyed worlds were restored, including Destiny Islands. It is presumed all the restored worlds had their Keyholes sealed automatically and hidden, so they could not be destroyed again.

Kingdom Hearts Chain of Memories
Following his final battle with Marluxia, Sora seals the room where they fought, causing the doors to vanish.

Kingdom Hearts 358/2 Days
The term "Keyhole" was only mentioned when Roxas and Xion experience a memory of Sora sealing the Keyhole of Agrabah. Coincidentally, all of the devices that Xion absorbs power from during her battle with Roxas were planted near the Keyholes of Wonderland, Halloween Town, and Agrabah.

Kingdom Hearts II
Instead of sealing the Keyhole of a world, Sora opens the world's Gate, which reveals a new path to a different world. Curiously, though several never-before-seen worlds appeared in Kingdom Hearts II, not one of them had their Keyholes sealed, mainly because after End of the World was destroyed, all worlds went back to what they used to be, and the newer worlds therefore had no reason to be sealed by a Keyblade. Sora did use the Keyblade to seal a Keyhole on Pete's door to Timeless River, to unlock the seal on the door blocking himself, Donald, Goofy and Auron from escaping Cerberus, and to unlock the Underdrome in order to save Megara.

Kingdom Hearts coded
In order to rid each of the worlds within the Datascape of the Bug Blox plaguing them, Data-Sora searches for and enters the Keyhole of each of the data worlds, within which he faces the bosses which are generating bugs. Energy spikes within Keyholes alter Data-Sora's powers, resulting in side-scrolling, 3D shooting and Labyrinth segments. Data-Sora also uses a Keyhole to enter Data-Riku's inner data, where he eliminates the bugs that are corrupting Riku. When Mickey enters the Datascape after the data is reset, he shows Data-Sora a Keyhole that leads them to the digital Castle Oblivion.

Kingdom Hearts 3D: Dream Drop Distance
As part of their Mark of Mastery exam, Yen Sid sends Sora and Riku to the Sleeping Worlds to unlock the seven Keyholes of Sleep, and return the worlds to the Realm of Light.

Kingdom Hearts III
In Monstropolis, after the Lump of Horror is defeated and Randall’s takeover of Monsters, Inc. is thwarted, Sulley and Mike banish him once again through the same repaired doorway he originally passed through. Before Sully can punch out the light like he previously did when Randall was first banished, Sora offers an alternative solution. Using his Keyblade, Sora permanently seals the door, which fades into light completely.

Kingdom Hearts Birth by Sleep

 * Land of Departure: The Keyhole is in the Throne Room, behind the middle throne.

Kingdom Hearts

 * Destiny Islands: The Keyhole takes the form of a wooden door with no knob in the Secret Place. It was opened by Riku.
 * Wonderland: The Keyhole is appropriately hidden inside the mouth of the Doorknob.
 * Deep Jungle: The Keyhole is hidden at the top of the waterfall rock face in the Cavern of Hearts, behind a flock of butterflies. The pathway into the waterfall rock is shown when Kerchak reveals it to them.
 * Traverse Town: Traverse Town's Keyhole is located in the water fountain in the Second District. It only opens up when someone pulls the rope on the district's bell thrice, causing the water fountain to change face.
 * Agrabah: The Keyhole is in the final room of the Cave of Wonders, i.e. the Lamp Chamber. After stealing the lamp from Aladdin, Jafar's first wish was revealing it.
 * Atlantica: The Keyhole is hidden in Ariel's Grotto. It can only be accessed using a Crystal Trident or King Triton's trident. After defeating Ursula, Triton allowed Sora to lock the Keyhole using the trident to reveal it.
 * Halloween Town: The Keyhole was hidden under Oogie's Manor. After it collapsed, the moon reflected on the spot where the Keyhole was.
 * Neverland: Neverland's Keyhole is located on the clock face of Big Ben. It only reveals itself once the minute hand moves up to the strike of twelve.
 * Olympus Coliseum: The Keyhole was hidden under a stone block in the Lobby. It can only be accessed once Sora, Donald, and Goofy use the yellow Trinity Mark to remove the stone block.
 * 100 Acre Wood: The Keyhole is on the clasp that closes the book.
 * Hollow Bastion: The Keyhole of this world, also known as the Final Keyhole, has some controversies around it. In the Ansem Reports, Xehanort states that he found a strange door in the basement of the castle. The door had a large keyhole on it and it wasn't locked, so he opened it, seeing on the other side what appeared to be the world's heart. However, Maleficent was gathering the princesses to open the "Final Keyhole" on the top of the castle, where the in-game Keyhole was located. So it appears that the Keyhole found by Xehanort in the basement was the actual Keyhole to that world's heart, while the Keyhole Maleficent was working so hard to create was an artificial Keyhole to be used as a pathway to Kingdom Hearts. This could probably explain why Hollow Bastion wasn't destroyed along with the rest of that world.

Kingdom Hearts Chain of Memories

 * Castle Oblivion: The Keyhole is located on the door in the Unknown Room before Sora fights his final battle against Marluxia.

Kingdom Hearts coded
 File:The Keyhole's the Place 01 KHREC.png|The data Keyhole of Destiny Islands. File:Into the Keyhole 01 KHREC.png|The data Keyhole of Traverse Town. File:The Queen of Hearts 01 KHREC.png|The data Keyhole of Wonderland. File:Olympus Coliseum 14 KHREC.png|The data Keyhole of Olympus Coliseum. File:Agrabah 16 KHREC.png|The data Keyhole of Agrabah. File:My Friends Are My Power 01 KHREC.png|The data Keyhole of Hollow Bastion. File:What Friends Are For 02 KHREC.png|A Keyhole which leads inside Data-Riku's Datascape. File:One Last Mystery 02 KHREC.png|Another Keyhole appears in Traverse Town after the Datascape got rebooted. 
 * Destiny Islands: The data Keyhole is behind the waterfall.
 * Traverse Town: Traverse Town's data Keyhole is scattered in 4 pieces held by Huey, Dewey, and Louie and Data-Riku.
 * Wonderland: The data Keyhole is inside a cage.
 * Olympus Coliseum: The data Keyhole is in the entrance to the coliseum.
 * Agrabah: The data Keyhole is inside one of the Bug Blox.
 * Hollow Bastion: The data Keyhole is inside the Great Hall. Another Keyhole appears when Data-Sora enters Data-Riku's Datascape.

Serrure Schlüsselloch