CUPERTINO -- A preschool was put on lockdown for two-and-a-half hours Wednesday while police searched for burglary suspects in the area, authorities said.

The lockdown at Good Samaritan Preschool in Cupertino was lifted about 2:15 p.m. as police continued to look for one of three suspects in connection with a nearby residential burglary. Two alleged accomplices were quickly arrested after the trio fled from a traffic stop, said Sunnyvale Capt. David Verbrugge.

Loretta Wong, director of the preschool, said school officials alerted parents when the lockdown started about 11:45 a.m. and later informed them by phone and email that they could pick up their children early.

Staff at the Homestead Road campus brought the children inside after authorities told them to lock down the school because a suspect was on the loose in the area, school assistant director Stacey O'Toole said.

O'Toole said the school locked its front doors and classroom doors, turned off the lights and asked students to lie on the floor.

Police from the Sunnyvale Department of Public Safety, the Santa Clara County Sheriff's Office and other agencies were still canvassing the neighborhood Wednesday afternoon for the third suspect.

O'Toole said that as the police search was under way, the preschoolers napped and had lunch in class.

"To them, it's like a rainy day," O'Toole said. "They don't know that it's a lockdown. It's like any other day to them."