Robb Elementary School had measures in place to prevent this kind of violence. A fence lined the school property. Teachers were ordered to keep classroom doors closed and locked.
Despite ample school security plan, Texas shooter found gaps