immunity
An exemption from a duty or penalty.
A permanent status, as for a diplomat, exempting one from being sued or prosecuted for certain actions.
A special status, granted by a prosecutor, exempting a witness from being prosecuted for the acts to which he or she testifies.