Final Keyhole

The Final Keyhole is the last Keyhole seen in Kingdom Hearts. It is in Hollow Bastion and requires all the Princesses of Heart and their hearts to unlock the keyhole and to open the Door to Darkness

Before Kingdom Hearts
Based on the Ansem Reports, Xehanort had opened a door deep beneath the castle, allowing the Heartless to overrun it, destroying Hollow Bastion and breaking the barriers in between worlds. Thus, the Final Keyhole in the game is most probably an artificial one, created as a means to enter into Kingdom Hearts and as a source of immense darkness and power.

Xehanort eventually succumbed to darkness and Maleficent took over the castle with Heartless nine years before the events of Kingdom Hearts.

Kingdom Hearts
Maleficent, Riku and the other Disney Villains began to gather the Princesses of Heart to gain the powers of darkness and to open the door to Kingdom Hearts. Riku only wants to find a way to save Kairi's heart.

Maleficent and Riku are the only ones left when they obtain all the Princesses of Hearts. However, the Keyhole is not truly unlocked because Kairi has lost her heart and cannot release her power. After defeating Maleficent twice, Sora fights with Riku a second time. This time Riku is taken over by Xehanort's Heartless and informs that Sora is carrying Kairi's heart within him. Sora uses Riku's Dark Keyblade to save Kairi's heart and release the other princesses' hearts from the keyblade. After Sora does this, he loses his heart and Kairi is revived only to complete the keyhole.

When the Keyhole is revealed, several powerful Heartless were released. These were the Clock Tower Phantom, Kurt Zisa and the weakest of them, the Behemoths. The Keyhole is only sealed during Sora's second visit to Hollow Bastion. But the way to Kingdom Hearts is still open with Xehanort's Heartless waiting.