If we want to use the memory card in another device, such as a laptop, it is a good idea to eject it on the Xiaomi smartphone, which will disconnect all connections to and from the memory card to prevent data loss.

Android 10 (MIUI 11.0)
Step 1:  Open the  Settings
Step 2:  Tap on  About phone
Step 3:  Tap on  Storage
Step 4:  Tap on  Unmount SD card
  1. Open the Settings
  2. Tap on About phone
  3. Tap on Storage
  4. Tap on Unmount SD card

Xiaomi Instructions