This order followed an earlier one ordering the boy to be detained.
The boy is barred from the school “until his suspension and/or expulsion is taken care of,” according to an entry filed in the court in Lebanon.
MORE: Lebanon schools to get 1st police officer assigned to school
He is otherwise permitted to go to school or work, while the case is pending.
The charge follows lockdown of Lebanon High on Wednesday morning after reports a student sent a text that he had seen someone with a gun outside the school.
“Lockdown lifted. No immediate threat. Post being investigated,” Yohey said in a text message.
On Wednesday afternoon, Yohey said the two incidents were not related.