Oh of course that why i am okay with the investigation being made.
Even then there is a procedure for active shooters/lockdowns generally, which normally is to evacuate first and to not engage the shooter unless it's an absolute last resort unless doing so would preserve more lives.
It seems that the guy failed to act in the moment.