The school of more than 1,800 students was immediately put on lockdown as authorities searched for the shooters.