Disable prompts to sign in to open Wi-Fi networks

Whenever I’m in the range of an open Wi-Fi network, I get a lock screen prompt to log in. But most of the time, I don’t want to. How do I disable these prompts?

Also, I suggest turning these prompts by default, for the same reason: most of the time, we don’t want to sign in to whatever Wi-Fi network happens to be in range.

First, you can turn WiFi off.

Second check your setup under WiFi