First tap on the Action Center icon on the taskbar and go to All Settings.
Now select Network and Internet
In the left panel, tap on Wi-Fi.
Now in the right panel, check out for the option Change Adapter Options. Tap on it.
The Change Adapter Options will options will open the Network Connections. You will find the network connection to which your computer or tablet is connected.
Double click on the wireless connection to open the Wi-Fi status. Go to Wireless Properties.
Under Connection tab, find out “Connect automatically when this network is in range“. By default it is enabled. To disable it, uncheck the option and tap ok.
This solution was adapted from
http://mywindowshub.com/how-to-disable-automati...
Note: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.