<P> The Locker is similar to purgatory, and is the destination for souls that die at sea . Davy Jones was entrusted with the task of ferrying the souls of the deceased into the next world by the goddess Calypso . After Jack Sparrow is killed by the Kraken in Dead Man's Chest, Calypso organizes a mission to rescue his soul from the Locker back to the land of the living . </P> <P> In the third film, Calypso is accompanied by Elizabeth Swann, Will Turner, and Hector Barbossa, among others . They reach the Locker by the use of magical charts leading to World's End . Sao Feng, one of the nine Pirate Lords, was the previous owner of these charts . </P> <P> After the crew reach the Locker, they find Jack and the Black Pearl stranded in the desert . Jack, unable to move the ship, has begun to hallucinate . The ship is transported to the ocean by many crabs under the control of Calypso . While on the ocean, the crew see the ghost of Governor Weatherby Swann, who has been murdered on the orders of Cutler Beckett . </P> <P> By deciphering the clues on Sao Feng's charts, Jack discovers the way to escape the Locker . At sunset, the crew capsizes the ship; this triggers a green flash and returns the Pearl to the world of the living, effectively reviving Jack . </P>

Where is pirates of the caribbean supposed to take place