Learning behind Bars