Is there a way to lock all but the selected object(s) inside a layer in Illustrator when working with many layers? Instead of individually locking all of them.
Yes - Lock Others
....a somewhat hidden shortcut.
With the object(s) you want to remain unlocked selected... hit...
It's a key command for the menu
Object > Lock > Other Layers.
It's just the
Lock shortcut with Option/Alt and Shift added.
It will lock everything that is not selected, across all layers/artboards.
Also, one thing I discovered way too late is that when hiding/showing a lot of layers, you can just click and drag over the "eye" icon instead of clicking every single one individually. So just click and hold the eye icon, and swoop down to hide all the layers you want hidden. Saves a lot of time for me at least.