A high school in Newport went into a lockdown after an "unknown individual" went onto the site.