In a fluid situation with a shooter or hostage taker, odds are against they will spend a whole lot of time trying to breach the door but will look for an easier target.
There are many other devices on the market as well.
Still, kudos to the kid. Whatever best meets the needs. The only thing is you have to think on the offense side. If a person in the classroom wants to harm or take hostages, could they use something like this which would make breaching the door for rescue more difficult?
But if it were my child in a classroom, if this were the only tool available, it would give more of a chance of survival.
These sick people have evil minds, just like terrorists. They really are terrorists of the domestic sort. And they will get more and more creative to achieve their ends regardless of measures put in place to end the violence.