
Give somebody the works
Negative Connotation
This expression often suggests unfair or overly harsh treatment, not just strictness. 
Intensity
Indicates a very thorough or intense action, typically more than what's expected or usual. 
Informal Usage
Best used in casual conversation. Might be inappropriate in formal settings. 