An 18-year-old man has been charged over an incident at a Mandurah high school.
Police say they received a report of two "unregistered visitors" entering John Tonkin College on Education Drive in Greenfields around 11am on Tuesday, May 27.
The pair had been involved in an altercation before the school placed the campus into lockdown.
The neighbouring South Metropolitan TAFE campus was also sent into lockdown.
"Staff members instructed the unregistered visitors to leave the school grounds, and they left the area," a WA Police spokesperson said.
"Nobody was injured during the incident."
An 18-year-old has since been charged with one count of being armed or pretending to be armed in a way that may cause fear and one count of trespass.
He is due to appear before the Mandurah Magistrates Court on June 24.

Bushfire readiness takes centre stage at City of Kwinana's free Summer Sounds festival
WA Open Golf Championship to tee off at Secret Harbour Golf Links
Halls Head named WA's most persistent storm damage hotspot
Four illegal e-bikes to be crushed after police crackdown in Halls Head, Falcon
Aboriginal jobs and careers expo to attract 1000 attendees in Rockingham
Firefighters attend Lakelands home after reports of thick smoke
WA Government to ban screen use for younger students as part of six-month trial
Singleton General Store shutdown over illicit tobacco, vape sales
Concerns for missing Bertram woman
