You cannot lock part of array or apply specific range of variables for part of array - only to whole array.
To solve this problem I wrote a script, where first I'm creating temporary array
DIM TempArray[]
then using FOR - NEXT program goes through each array value, checking specific condition and if it's okey - copy it's value to temporary array.
TempArray[ i ] = MyArray[ i ]
If the condition is false, let say one editable hotspot exceed it's range, let say A>1.00 - program writes into array that A=1.00
IF MyArray[ i ]>1 THEN TempArray[ i ]=1
After loop went though all array, I use
MyArray = TempArray
PARAMETERS MyArray = MyArray