There is zero need to set this $SCR variable you are making this all up.
You do need to set the machine lock variable or test cycle as other have mentioned. It WILL set back to on at power cycle so simply write a cold start program to turn it back off at startup.
That's all you need to do.
Thank you! I had already set it to zero.