With the Samsung device, we can't just share the WLAN connection, we can establish the connection ourselves using QR code. To do this, the other device must share the connection. With the camera (or QR code scanner), we can scan the QR code and establish a WLAN connection directly without having to enter the password.

Android 10 (One UI 2.0)
Step 1:  Open the  Camera-App
Step 2:  Scan  QR-Code
Step 3:  Tap on  Connect
  1. Open the Camera-App
  2. Scan QR-Code
  3. Tap on Connect

Samsung Instructions