Actually, it's quite simple. Raise the hand, shake it once and say the spell, and Harry would collapse on top of him, giving Scorpius a chance to wriggle out from under him. That's what Harry himself wishes, even if the Curse tells his body otherwise.