Is it possible to lock a scene within unity, or is it only possible on file system level? the hideflags don't seem to do much.
You could could set all the object's hideflags to NotEditable (you migt need to do all components too) https://docs.unity3d.com/ScriptReference/HideFlags.NotEditable.html
mhm i would need to save the original hideflags to restore them on unlocking. I think i'll just lock the file and show a warning in the SceneView that someone requested a lock.