This tool only breaks the editing restrictions in Word. With a few changes, it may be possible to use this with other office tools.
If the tool doesn't break the editing restrictions in Word, please contact me at unlock@zimpatrick.gq
A .docx file is pretty much just a .zip file.
It opens the word/settings.xml and simply changes the w:enforcement property on w:documentProtection to false.
For educational purposes.