Samsung devices with One UI automatically connect to Hotspot 2.0 Wi-Fi networks. These hotspots are usually used in public places and are much safer than usual hotspots. Automatic connection can also be disabled in the WLAN settings.

Android 10 (One UI 2.0)
Step 1:  Open the  Settings
Step 2:  Tap on  Connections
Step 3:  Tap on  Wi-Fi
Step 4:  Open the  menu
Step 5:  Tap on  Advanced
Step 6:  Enable or disable  Hotspot 2.0
  1. Open the Settings
  2. Tap on Connections
  3. Tap on Wi-Fi
  4. Open the menu
  5. Tap on Advanced
  6. Enable or disable Hotspot 2.0

Samsung Instructions