A little more in depth than my rather brief comment above.
16-120-301. Injury or damage to person committing felony.
If a person while committing a felony is injured or his or her property damaged, the person who causes such injury or damage shall not be liable for damages nor subject to suit for the injury or damage, provided that:
(1) The person causing such injury or damage has not acted with malice;
(2) The person committing the felony has not clearly retreated from the felonious activity;
(3) The person causing such injury or damage has not prearranged a trap that would automatically inflict injury or damage to any person entering a certain location; and
(4) The act causing the injury or damage was the result of or in response to the commission of the felony.
16-120-302. Use of deadly physical force.
(a) A person is immune from civil action for the use of deadly physical force against another person who is an initial aggressor if the use of the deadly physical force was in accordance with § 5-2-607.
(b) A court shall award reasonable attorney's fees, costs, and trial-related expenses to a person in defense of a civil action brought by another person if the court finds that the person is immune from civil action as provided in this section.
16-120-303. Attempting to protect persons during commission of a felony.
No person is civilly liable for an action or omission intended to protect himself or herself or another from a personal injury during the commission of a felony unless the action or omission constitutes a felony.