you can toggle hidden/unhidden state with two options out of four for locking layer contents that AR has at the moment:

[ lock all ] - hiding layer command disabled ❌

[ lock transparency ] - hiding layer visibility is enabled ✅ you can paint into existing layer graphics by mistake, but you can't paint over transparent layer areas. I have this function assigned as a shift + L shortcut.

[ lock paint ] - hiding layer disabled ❌

[ lock position ] - hiding layer enabled ✅

overall, I don't hide layers often, but I guess it would make the behavior more predictable for new users if they added that.