and injunctive relief, including directing the closure of the facility, building, or unit where the violation took place if that facility, building, or unit is in repeated and systemic noncompliance with this Act, and for such money damages as the court determines appropriate, including for emotional pain and suffering. (B) Additional awards In an action filed under subparagraph (A), the court may, in addition to any other relief awarded under that subparagraph, award reasonable attorney’s fees and costs of the action to a prevailing plaintiff. (2) No liability for certain lockdowns (A) In general No Federal agency shall be liable for a Federal agency-wide, facility-wide, or partial facility-wide lockdown that exceeded the 4-hour limit under subsection (a)(2)(B)(v) if the agency can demonstrate that— (i) the lockdown, and the length of the time of the lockdown, was necessary to address unexpected, extraordinary circumstances involving the detonation of an explosive device, an acute mass contamination or contagion situation, a violent riot, revolt, or insurrection involving a large number of people that resulted in the taking of a hostage, major property damage, or serious physical harm to a person, or other similar emergency of the same magnitude involving a large group of people