A person who uses threats or force in accordance with Code Section 16-3-20, 16-3-21, 16-3-23, 16-3-23.1, 16-3-24, or 17-4-20 shall be immune from criminal prosecution therefor unless in the use of deadly force, such person utilizes a weapon the carrying or possession of which is unlawful by such person under Part 2 of Article 4 of Chapter 11 of this title.
OCGA § 16-3-24.2