There is not one Biblical account where the disciples used violence against any person who was not later rebuked by the Lord.
But Jesus did tell some folks to obtain a weapon
Luke 22:36 - Then said he unto them, But now, he that hath a purse, let him take it, and likewise his scrip: and he that hath no sword, let him sell his garment, and buy one.
Luke 22:36 is a verse where Jesus instructs His disciples to take provisions for their journey, emphasizing that if they do not have a sword, they should sell their cloak to buy one. This reflects a shift in their circumstances, indicating the need for preparedness in facing upcoming challenges including the need for self defense.
If one "lives" by the sword (any deadly weapon) this means the weapon is what they live by as in their faith and trust in weapons comes before the Lord which of course is idolatry. Trust the Lord first and foremost.
If it's a sin to have a deadly weapon then that would be accusing Jesus of committing sin when He told them to get a sword the second time He sent His disciples out. (Luke 22:36). Accusing Jesus of sinful behavior ends badly.
And anti-weapons people would be saying Romans 13 is advocating sin for the "servant of God" who bares the sword
Romans 13:4 - For he is the minister of God to thee for good. But if thou do that which is evil, be afraid; for he beareth not the sword in vain: for he is the minister of God, a revenger to execute wrath upon him that doeth evil.
Having to use a weapon on someone in self defense should be something a Christian should never want to have to do, but it's not a sin to defend one's self if the need arises.