Would it be possible to make the category lock icon
also apply to the sidebar?
I note that the code is here but based on this I suspect that a core change in the sidebar might be needed too:
https://github.com/discourse/discourse-category-icons/search?q=lockIcon