I think if the teacher is capable of protecting themselves without the use of the guns then yes
But one kick to the sack or a bonk on the head then the teacher goes down. Now the criminal has access to a weapon that he/she did not bring into the school