"Correctional institution." Any entity under the authority of the state or any county or municipality that has the power to detain and restrain a person under the laws of this Commonwealth.
"Detainee." Includes any person detained under the immigration laws of the United States at any correctional facility.
"Incarcerated individual." An individual incarcerated or detained in a correctional institution who is accused of, convicted of, sentenced for or adjudicated delinquent for violations of criminal law or the terms and conditions of parole, probation, pretrial release or a diversionary program.
"Restraint." Any physical hold or mechanical device used to control the movement of an incarcerated individual's or detainee's body or limbs or both.
61 Pa.C.S. § 5905