Lock toolbar

Invert and Lock
Deselect all selected objects and select all previously unselected objects and lock.

LockSwap
Lock all unlocked objects and unlock all previously locked objects.

Unlock
Unlock all locked objects.

UnlockSelected
Unlock selected locked objects.