The Legend of Zelda: Phantom Hourglass Hints

How do I open the locked door?