If you have one or more objects selected and you want to lock everything else, you can do that in one easy step. After selecting the object(s) you want to keep unlocked, press Command-Option-Shift-2 (PC: Control-Alt-Shift-2). To unlock everything, press Command-Option-2 (PC: Control-Alt-2).
|