to make a student stay at school after normal hours as a punishment
keep sb after
Definiciones del Oxford Advanced Learner's Dictionary, 9.ª edición