Locked object belonging to which layer

Would like to know which layer a locked object belongs to.
As can not select at the moment.

Probably not ideal but you can run UnlockSelected and select that object. The object’s layer will then be displayed on the status bar. Then cancel the UnlockSelected command.

If you have long layer names and sublayers, you probably won’t be able to read the entire layer name…

Thank you @wim.
Not ideal but still better than going through layers.

Also, LockSwap may come in handy.