Several prisons have taken measures to halt the spread of the novel coronavirus, granting temporary release to some prisoners.