An online threat has prompted heightened security at Imagine Prep in Surprise, leading to police presence on campus and the cancellation of school activities.