WEYMOUTH, Mass. (CBS/AP) – A suburban Boston high school was placed on lockdown with Massachusetts House Speaker Robert DeLeo and another state lawmaker stuck inside.

Police searched the building Thursday. The lockdown started around noon and ended in about 45 minutes.

READ MORE: Massachusetts Reports 4,364 New COVID-19 Cases, 7 Additional Deaths Over 3 Days

A 15-year-old student allegedly said he had a gun and a classmate told a teacher, which led to the lockdown. However, no weapon was found in his possession.

“In a situation when something is overheard, we take that very seriously, follow procedures and go in to lockdown as soon as we can,” said Weymouth Public Schools Superintendent Kenneth Salim.

The student was charged with disrupting a school assembly and he may face additional charges. He won’t be identified by police because he is a minor.

No one was hurt during the incident.

Classroom chairs, desks and bookcases were used to barricade a door during a lockdown Thursday at Weymouth High School. (Image courtesy of David Hawes)

Classroom chairs, desks and bookcases were used to barricade a door during a lockdown Thursday at Weymouth High School. (Image courtesy of David Hawes)

Classroom chairs, desks and bookcases were used to barricaded doors in the school.

Students say they had no idea what was going on.

“A lot of people were yelling and crying,” said one student.

One girl says everyone was running and staff directed half of the students into the cafeteria and kitchen, while the other half hid in closets.

READ MORE: Pfizer Says COVID-19 Vaccine Works In Kids Ages 5-11

Students tweeted and texted one another, repeating rumors of what they thought was going on.

“It was hot. There was like 60 of us in there,” he said. “It was just brutal. It was very scary.”

Students also contacted their parents to alert them to what they thought was going on at the school.

“The first thing you think about is getting your kid out of the school safely,” said one man.

DeLeo was at Weymouth High School to participate as a judge in a mock trial competition when the school went into lockdown.

“I always felt fine and secure, but it really made me think about what we have to look at as lawmakers here in Massachusetts,” he said.

DeLeo and state Rep. James Murphy were being kept in a locked office while the school was searched.

Weymouth High School went into lockdown on Thursday. (Image courtesy of @SmackHigh)

Weymouth High School went into lockdown on Thursday. (Image courtesy of @SmackHigh)

WBZ NewsRadio 1030’s Lana Jones reports:

MORE NEWS: Rusted Out Stairs In Dorchester Removed After BU Professor David Jones' Death

(TM and © Copyright 2015 CBS Radio Inc. and its relevant subsidiaries. CBS RADIO and EYE Logo TM and Copyright 2015 CBS Broadcasting Inc. Used under license. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. The Associated Press contributed to this report.)