Add [DisableInInspector]
attribute to make uneditable field.
You can import this asset from UnityPackage.
Set [DisableInInspector]
attribute on your field.
[DisableInInspector]
is ignored when any other GUI attribute is set after it.
[DisableInInspector]
can not limits array or list size changing.