This script lock and unlock the selected Objects in your scene. I made it how I use it in a new scene. First I unhide all objects in the new scene, second select all objects and then unlock them. If you have some problem with your max version please text me.
Script category: “#todorScripts”
You can see an example here, how to install my script per Drag and Drop: