Here’s the law
https://codes.findlaw.com/tx/education-code/educ-sect-37-081.html
exas Education Code - EDUC ยง 37.081. School District Peace Officers, School Resource Officers, and Security Personnel
Thank you.