the confinement of prisoners to their cells for all or most of the day as a temporary security measure
lockdown
noun(lock-down)
an emergency measure or condition in which people are temporarily prevented from entering or leaving a restricted area or building (such as a school) during a threat of danger