Concept Smoke Screen suggests that the smoke not only would protect teachers and children by hiding them from view, but would also alarm a shooter and possibly even draw authority attention to the school's situation. It doesn't take into account a situation in which a mass shooter on a rampage might just spray bullets blindly into a classroom, or what would happen if the shooter was already familiar with the school and the technology. But it would at least make the situation more difficult for them.