The gunman was inside the school for 77 minutes before law enforcement breached the locked door with a key and killed the shooter.