Turn a property into a ReadOnly after I change the value
When I create the thing which inherits the properties from the template I would like that some of them will be readonly.
The problem is, if I check ReadOnly checkbox from template, I'm not able to assign to the Thing a value after I've created it, sois it possible to switch a property for a single Thing into a readOnly after I've assigned a value? And, if so, what is the snippet?

