Hi there,
you can either set the parent's (subform) access to readOnly or protected which holds all the fields
or call a recursive function that will iterate through all objects within the form to set all fields readOnly or protected.
a recursive function could look a lot like the following: