I guess there is a slight misunderstanding. Let me try to correct myself. Sorry about that.
The confusing part is that the entire layer tree is disappearing after a selected layer is locked. I have to reorient again and realise that I have to select the canvas to see the layer tree again.
And yes, you are right, Ryan. Locked elements on the canvas shouldn't be modifiable. But a problem occurs when I try to understand what state the interface and its elements that I constructed are in. If I try to select a locked element I get no feedback or indication that this element is locked. Neither in on the element nor in the layer tree, meaning I have to go through all the locked elements in the layer tree by unlocking and selecting them to figure out which one it is.
I was referring to Adobe Experience Design which indicate state of the selected element with a lock icon that also acts as an unlock button. Indeed Photoshop is a different beast and most of the behaviour there is not favourable, in my opinion. At least in the context of interface design.
I hope I could clarify my point a bit. Sorry again for the confusion.