Next, head back to the Settings menu and tap Restrictions. Tap the switch and create a password. This should automatically disable the Wi-Fi connection.
Should you need to unlock it later, tap this same switch to turn the setting off. You'll be prompted for your password, and the Wi-Fi will remain unlocked until you go back and switch it off again.