IDIOMS

take the law into one's own hands

(intransitive, idiomatic) To punish someone according to one's own idea of justice and without consideration for the role of law enforcement authorities.

Example:   After his son's killer was let off without a conviction, the man decided to take the law into his own hands.