An armed and trained teacher?
An armed guard at the the entrance door checking who goes in?
Or do the liberal thing and ban guns, knives, machetes, axes, hammers, ball bats, rocks, gasoline, razors, ice picks, sharpened pencils, hat pins, forks, shovels, picks, sharp sticks, garden tools, lawnmower blades, lengths of metal, etc.