Qualified immunity

In a dissent, Justice Sotomayor said it was undisputed that the officer knew the man was suicidal and mentally ill, and knocked the overuse of qualified immunity.
It's one way that bad police officers avoid repercussions.