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.

Pop-up ice skating rink glides back into Mandurah for winter school holidays
Federal opposition leader Angus Taylor sits down with local business owners in Mandurah
Police search for missing man last seen leaving Rockingham Hospital
West Aussies urged to be on high alert after surge in winter house fires
New $3.4 million boardwalk to be constructed at Lake Clifton thrombolites
City of Mandurah rolls out new tactile bin lids, accessibility stickers to support residents with low vision
Driver dies in hospital after Australind crash
Welfare concerns for woman with dementia last seen in Cooloongup
Charges laid over fatal West Coolup crash
