Hi,
Thanks for your post in Microsoft Community.
It is indeed possible to disconnect the OneDrive link by changing the account password.
Here's what I got from what I did with your idea:
OneDrive will ask you to re-enter your Microsoft account password to disconnect the OneDrive link.
Hope it helps you.
Kirk | Microsoft Community Support Specialist
* Beware of scammers posting fake support numbers here.
* If your problem is not solved, you could reply to the post again and we would continue to provide technical support for you.
* Please check and vote this answer if it helps as it will be beneficial to more community members reading here.