Nevermind the risk of a student stealing the gun from the armed guard, or the risk of the armed guard going through a rough divorce and deciding to go postal themselves.
The latter really scares me as a teacher. Imagine what the security guy could do with some planning time and full access to all locked doors as well as the camera and alarm systems.