Lock Material?

Is there a toggle or script to lock a material shader setup in cycles so that you don’t accidentally change it by mistake?

Not sure about a “lock”, but maybe use the node editor to setup the material and shader, etc. and create a group. Give the node group a descriptive name to help identify it. Then at least you’d have to open the group to change anything, so it might help to prevent accidental changes.

You could also create a material blend file/library and then link that material into your current blend.

Thanks for the reply. This will help.