Hi,
Do you think doing something like this would help?
1. Create a process with the required start condition on your sub-object
2. Query the 'odf_objects' table to get the 'parent_object_code'
3. Depending on which parent object it is, trigger another Process (connected to the master object and with a system action), to lock an attribute on that object.