For same days, I noticed that the search bar pops up randomly on my Microsoft Surface laptop running Windows 10 Pro.
After reading through some articles online, I was able to fix the problem simply by disabling the “leave touchpad on when a mouse is connected” as seen in the screenshot below :
I guess it works for me probably because I am using a mouse.
If you are not using a mouse, you can try some of the suggestions at Microsoft community
.