They're not blaming the teacher for keeping their mouth shut, they're blaming the teacher (or administrator) responsible for putting kids and convicts together on a work project.
I read it as blaming the teacher for not explaining the situation, especially regarding weapons. There's nothing to suggest that the prisoners and the teens would have any trouble getting along.