A family of Microsoft word processing software products for creating web, email, and print documents.
It sounds less like Word changed the password and more like the files may have been damaged when they were saved/closed. A good quick check is to create a new Word file, protect it with that same password, and see if it opens normally, because that helps tell whether the issue is the files themselves.
Here are some suggestions you can try:
Open Word first, then go to File > Open > Browse, select a copy of the file, click the arrow next to Open, and choose Open and Repair. This is usually recommended for files that may be corrupted.
If that fails, try Word’s Recover Text option from File > Open, with file format conversion enabled. It can sometimes pull out the text even when the document will not open normally.
If these protected files fail only on this one PC, it is suggested that you test them on another computer or Word for the web, because sometimes password-protected files fail on one machine but open elsewhere.
You can also try opening a copy in Google Docs or uploading to OneDrive and opening online, since a different parser can sometimes get past minor corruption and let you rescue the content.
If all protected Word files are acting strangely, run an Office Online Repair.
Thank you for your patience in reading, I hope this information has been helpful to you.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment."
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.