CLEVELAND HEIGHTS, Ohio (WJW) — Heights High School and Monticello Middle School were set for early dismissal Friday afternoon, following an hours-long lockdown, a district spokesperson said.

“The lockdowns were triggered by online threats to both schools,” city spokesperson Mike Thomas told FOX 8 News on Friday afternoon. “Detectives are working to determine the credibility of these threats.”

Students were placed under a level 2 lockdown for more than two hours, he said.

A level 2 lockdown is when class continues as usual, but students remain in their classrooms while all exterior and interior doors are locked, as previously explained by the Cleveland Heights-University Heights School District. Movement inside the school is only allowed by announcement from administrators.

A note to Heights High School families sent just before 2 p.m. on Friday indicates the lockdown was later downgraded to level 1, which is when occupants are free to move.

It also stated the Cleveland Heights police would continue its investigation into the threats, which came via social media.

Food service workers then worked on feeding the students who missed lunch due to the lockdown.

Parents were allowed to pick up their students starting just before 2 p.m. School employees were expected to help identify parents and escort students. Others who didn’t go home with their parents were scheduled for dismissal at 2:15 p.m.

The district’s basketball and swim conditioning activities were canceled on Friday, while other after-school activities were expected to continue as normal but with new meeting spots.