Students 'locked' away