Sorry but unless we're talking about a different button, that is not what the lock button does. It just stops the inspector window from changing its display to some other object you select in the hierarchy/project view. It doesn't stop property values from being restored after you exit play mode.
•
u/hubecube_ Mar 16 '26
Switch to manual mode and get used to pressing ctrl + R
Now you recompile on your own terms.