Detention (2003)
Detention is a 2003 action film directed by Sidney J. Furie. It stars Dolph Lundgren as a soon to be retired high school teacher Sam Decker who has one last detention to proctor and Alex Karzis as Chester Lamb. Unfortunately, drug runners have chosen to attack the school. Sam must band together the trouble makers and misfits in detention to defeat the criminals and stay alive.
More at Wikipedia.