lock up

[lock up] {v. phr.}, {slang} To be assured of success.

How didyour math test go? - I locked it up, I think.