What is the meaning of Headlock?

A wrestling move where the attacker puts their arm tightly round their opponent's head, which the opponent can't easily escape from.

To restrain in a headlock.

Source: wiktionary.org