Hello,
You can use docxSettings or modifyDocxSettings to avoid checking spelling and grammar. You need to set hideGrammaticalErrors and hideSpellingErrors values as true.
If you need further help about this task, you can open a support ticket (https://www.phpdocx.com/support) and attach your template.
Regards.