In the object editor, go to the items tab and click the appropriate item.
Then look for the field that says:
Stats - Can be sold to a Merchant
Set that to false.
lol
EDIT: For triggers:
-
Item - Make Crown of Kings +5 0003 <gen> Unpawnable
Then set it to pawnable whenever you want it to be able to be sold again.