The pin button will keep the current material selection fixed.
When a material is pinned, it will remain visible in the Shader editor
even when another object or material is selected elsewhere.
The Options panel in the Sidebar region contains the same settings
that are also available in the Material tab in the Properties.
They differ depending on the selected render engine.
The settings are duplicated to make it possible to edit the entire material from the Shader editor.