Double-click the lock and drag an item into the slot to prevent non-quest, non-locked items from being vendor traded, exchanged, dropped, scrolled, or used by certain cash items.