A Caerphilly high school was locked down after reports of an incident involving two children.