Wiktionary
bar out
vb. To close the doors of a classroom against (a schoolmaster); a boyish mode of rebellion in schools.