A local school in Tonypandy, Ysgol Nantygwyn was put into emergency lock down after a “threat” was made toward staff members.
The measures were put in place after the threat was received from a “pupil to come on site and hurt teachers”.
Police were called to the site on Thursday morning to deal with the incident.
Posting on the school’s Facebook page, parents at the new 3-16 school reported pupils locked in classrooms “crying” and sitting under tables.
A statement on the school’s Facebook page said: “We have taken the decision to go into an emergency lock down situation after the threat from a pupil to come on site and hurt teachers.
“The Pupil IS NOT on site. All children are safe and with their teachers in locked areas. This is a drill we have practiced and implemented.
“The police are on site and supporting the situation and we will update you shortly. Please do not come onto site as we will not be releasing pupils when in a lock down situation.”
The school later posted an update shortly after that initial post to say the lock down had ended.
They said: “We are no longer in a lock down situation.
“The lock down was taken as a precautionary measure after a threat was made towards staff members. The matter was dealt with fully by the police. The person who made the threat was not on site for the duration of the lock down. This event was swiftly and efficiently dealt with and ensured the safety and security of all pupils and staff in line with the school’s emergency procedure.
“All pupils were exceptionally well behaved and we are very proud of them. Thank you for all your support”
South Wales Police said: “At 11am we were called to Ysgol Nant Gwyn following the report of an incident between a staff member and a teenage boy.
“As a precautionary measure the school closed its doors while officers looked for the boy involved. He was found at his home address shortly after and spoken to. No offences were committed.”
The school later put up this statement on the schools facebook page:-