I guess he was afraid the gun would go out and shoot people when he wasn’t home.
If he did not keep the gun secure it very well might have gone out and shot someone - with some criminal’s help, of course.