How to cancel the windows+ y

In Windows go to settings:
Mixed Reality -> Headset Display -> Input Switching (bottom of the page)

Set it to manual and you won’t have to deal with this again.