Originally Posted by
The Big Dice
The point is, the Doctor couldn't have escaped from being locked in the Pandorica unless he had already escaped from it. Which he couldn't do, because he was inside it and there was no way to escape from it. It's a paradox which never gets explained or resolved. you're just not supposed to notice or question it.