A family of Microsoft word processing software products for creating web, email, and print documents.
It is possible that OneDrive does not handle password-protected files properly; I haven't tested that.
Just to rule out other causes, have you updated both Windows 10 and Office to the most recent versions?