I feel like as depicted in this comic, and in just about every other real life example that actually warrants such destructive behavior, you have ample grounds for a lawsuit against the landlord instead.
If a landlord harasses you verbally and in letters and changes your locks then just sue them. "Landlord Harassment" is an entire specialization of law practice.
FR, the tenant who receives such notes and frequently gets locked out should be filing a Landlord Harassment lawsuit.