All of those happened in underdeveloped, weak countries with decades of violent infighting preceding those events.
If something similar were attempted in any Western country, the people involved would be murdered and things would be back to normal the next day.
There’s a reason European countries maintain twice as many police officers per capita as the “police state” China.
Decades of violent infighting don't come out of nowhere, they were somebody's conscious decision.
Again, you can be a bystander or a protagonist.