If you want to disable web results in search in Windows 10, you'll also have to disable Cortana too.
To disable the search in Windows 10 follow the below steps.
Select the search box in Windows 10's taskbar, Click the notebook icon in the left pane, Click Settings and
Toggle "Search online and include web results" to off.
That should disable search in Windows 10.