A criminal is a person who willingly breaks the law.  The use of unlawful force against another person is a violation of the law.  A gun is an instrument of force.  The use of force is lawful for the protection of one's person, family, and sometimes one's property.