‘Qualified immunity’ is a legal doctrine that protects government officials from being sued for constitutional violations while they are on the job unless that person violates what experts call clearly established law.