You can use an Android phone without logging in to your Google account.
I tried this a few years ago.
And even if you do use an MS account to log into Windows, can they really lock you out of your own hardware? i use local account and I will never log into Windows with an MS account.