Classes were canceled after the incident and the university was on lockdown , which was directed mainly at the 1,200 people living in dormitories and an on-campus apartment complex for upper-level students .