Locking a weapon

So I was gonna add a weapon to the main character of my game and it's unable to be unequipped, you know, sorta locks it in, anyway, is this only possible through scripting or what?

Also could it be switched out but only through commands when locked?
Use the "Fix Equip" feature for an actor or for the weapon itself.  It's something you can add in the Features box.

Original thread: https://forums.rpgmakerweb.com/threads/locking-a-weapon.41735/