Qualified immunity

It's one way that bad police officers avoid repercussions.
A number of cases before the Supreme Court would have allowed the court to readdress the broad protections that allow officers to escape accountability.