How schools, police investigate threats of violence