WICHITA, Kan. (KAKE) - There were some anxious moments for dozens of parents Wednesday as they waited to find out when they could pick up their kids from Black Elementary School.

When parents heard about a lockout at Black Elementary School, the first thing they wanted to do was go pick up their kids. But they couldn't because no one was allowed in or out of the building.

Parents lined up outside Hadley Middle School and waited anxiously for buses to bring their kids from Black Elementary.

"I panicked in the beginning, just because I know how all the shootings have been going on around the US for the past couple of years,” said Andrea Amparan, parent of a Black Elementary School Student.

"It's scary, that's my kid's first year going there, and so, it's scary as a parent,” said Casey Grady.

The panic was real for some parents when word got out the school was on lockout because of a standoff in the area.

"Just knowing it was across the street from the school started to worry me again,” said Amparan.

The school district says Black Elementary went on lockout shortly after Noon.

"I wish I could have gone and got him then, you know. I was like can I just get him? But they wouldn't let me because of the lockdown,” said Grady.

The district decided to bus the kids out to the nearby middle school because the standoff nearby was still going on.

"We have sent a notification through our parent link system to all the parents from Black, letting them know that that is our plan,” said Terri Moses, Director of Safety and Environmental Services.

Parents were finally able to breathe a sigh of relief when they could hug their little ones and take them home just after four o'clock.

"It's a little nerve-racking. But for me, it's nice to know the school has all the students' safety in mind. I got notified via multiple different resources of what was going on and where pickup was going to be,” said Sabrina Holtzen, whose kid goes to Black Elementary School.

The district says it's only had a couple of other incidents like this before.