Their password should not be more than three characters.
This method works on files having extension. You can unlock password-protected word document using VBA code. Method 1: Unlock Password Protected Word Document with VBA Code Unlock Password Protected Word Document Online Unlock Password Protected Word Document with iSunshare Word Password Genius