Lots of misinformation at this point
I heard on CNN that the shooter was the son of a teacher at the school and most of the dead were in her class.
The school had good security protocol similar to what you described but not designed to keep a teachers son out
Whether any of this is factual remains to be seen
