Heads Will Roll (Are Going to Roll)

What does the idiom “heads will roll” mean?

Definition: People will be fired.

Example: The ad campaign for the new model was an absolute disaster. I think heads are going to roll.