Hello zeyad helmy,
Thank you for posting in Microsoft Community forum.
1.Base on the description above, did you mean you cannot open a word document with a password you wrote?
2.What error message did you receive when you cannot open the word document?
Check if you can open this word document if you do not connect your computer to Microsoft account?
I hope the information above is helpful.
If you have any question or concern, please feel free to let us know.
Best Regards,
Daisy Zhou