We can enter a custom name and password for the personal hotspot on the Xiaomi smartphone to prevent unauthorized access, and devices that want to connect to our Wi-Fi hotspot will need the chosen password.

Android 10 (MIUI 12.0)
Step 1:  Open the  Settings
Step 2:  Tap on  Portable hotspot
Step 3:  Tap on  Set up portable hotspot
Step 4:  Enter the  SSID
Step 5:  Enter the  Password
Step 6:  Tap on  Save
  1. Open the Settings
  2. Tap on Portable hotspot
  3. Tap on Set up portable hotspot
  4. Enter the SSID
  5. Enter the Password
  6. Tap on Save

Xiaomi Instructions