An armed home invasion in White Rock on Thursday led to the discovery of thousands of cookies believed to be laced with marijuana.

Just before noon, RCMP were called to a house near Earl Marriot Secondary School on North Bluff Road after reports two males were trying to break into a home. Police say the intruders fled by foot, forcing the school into a brief lockdown.

While officers were at the home, they discovered 8,000 cookies believed to contain marijuana.

White Rock RCMP Const. Janelle Shoihet said it was a shocking discovery.

"I've never seen anything like it before. It's an unprecedented number of cookies," she said. "It was a bit like a bakery in there. So it was surprising to me."

A male and two females were arrested and charged with possession of a controlled substance for the purpose of trafficking.

The two male intruders have not yet been found.

On Saturday, thousands are expected to gather in front of the Vancouver Art Gallery for the annual marijuana smoking event known as "4/20."