A family of Microsoft word processing software products for creating web, email, and print documents.
If you have forgotten the password for a Word file that you encrypted, there is no native process available to access that file without the password, the encryption is too strong and because this is a Microsoft forum, it is against the forum code of conduct for anyone here to provide a method to bypass the password, I hope you understand.
Have you logged into OneDrive online (https://onedrive.live.com/) to check if you have a version of that file that is not password encrypted?