Let's see how to prevent addition of new sub-tasks if parent issue is in status "Resolved" or "Closed".
You only have to add validator Validation based on regular expression to transition "Create Issue" with the following configuration:
Once configured "Create Issue" transition looks like this: