Is it mechanical failure or is it a manufacturing defect?
Is it a new piece or previously owned?
How many rounds did you put through it before it was "locked up"?
It would be really rare that the action is twisted or bent.
But, that's just about the only thing that could jam it the way you've described.
Is it clean?
More info please.