Correctional facilities, such as prisons and jails, implement diverse security levels to address the varying risks…