The way Terry Pratchett handled police in the Discworld continues to be one of the many, many things I love about his works. I certainly don’t have time to describe all the details of why he wrote such good policing, but I think the best summation of it is the arc that Sam Vimes had in many of the books.
I haven’t read all the watch books, but in the ones I have, there’s often a similar plot structure. We meet a truly detestable criminal Vimes is chasing down (think the Deep Downers in Thud, or Carcer in Night Watch). They show themselves to be truly awful people who do awful things, and they’re also just plain jackasses. They’re characters you hate to read about, the grind the audience’s gears. They also grind Sam Vimes’s gears.
Throughout the story, they commit more and more crimes. Horrible crimes, like torturing and killing innocent people, or practicing violent religious extremism. They do things that personally target our protagonist, like go after his wife and son, or relentlessly taunt him and try to kill him and his past self. They consistently do bad things, and even as Vimes is chasing them, they do more bad things. You want them to be punished.
Finally, at the climax, we get some sort of final confrontation between the villain(s) and Vimes. In a different book, Vimes might kill the people who sent people to hurt his infant son, or tortured and killed innocent people, and the audience would probably cheer. In fact, Vimes wants to kill them.
But he doesn’t. Every time, he suppresses the urge to enact his own justice, and he doesn’t kill them. He arrests them. Because, as he says many times, if you’ll do something for a good reason, you’ll do it for a bad. Even when there’s every excuse as to why this particular villain doesn’t deserve to live, he just arrests them. It’s not his job to decide how they should be punished for their crimes.
I think this is a masterful takedown of police brutality and Punisher style characters. Vimes isn’t a perfect person, it’s not that he could never dream of killing the bad guy. He can, and he does, often. But he never follows through, he understands why he can’t do that, so no matter how tempting it is, he doesn’t.
Because in this story, the hard boiled cynical cop truly believes in following the law. The message is always that law enforcement killing a criminal is never ok, even if they’re undeniably guilty of something truly dreadful. Hell, police brutality is personified as a millennia old demonic quasi-deity possessing Vimes, one that’s never been beaten before, but he beats it and doesn’t give in. I think that’s a really unique message in cop stories, and another reason as to why Pratchett was such a good author.