Hello,
Thank you for posting in Q&A forum.
This is a security feature built into your Microsoft account that helps protect your account from hackers. The way to block this feature is to switch your Windows sign-in from a Microsoft account to a local account. You can switch back to a Microsoft account later if you want.
Best Regards,
Yanhong Liu
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.