Right click lock unlock on layer will lock inverse and lock/unlock
Sometimes I have 10-20 layers, half of which are unlocked. i then want to work on just one so i would lick to right click the lock symbol and it isolates that layer, locking all others
What about Alt+click on the lock (or visibility) icon, as said below? Works for me.
Almir Omerhodzic commented
It works perfect in Adobe XD. If similar could be applied in AI , that would be awesome :D.
unless I am wrong.. on the Mac when you hold the option or command key and left click on the lock icon on the layer you want, all other layers lock.. is this what you are looking for? works as well for the eyeball on viewing layers.