Go to Settings > Password & Security > Lock Screen Password , verify your identity, and choose None or Swipe . Hard Reset (If Locked Out):

When credentials are forgotten, a factory reset via is the primary solution. This involves powering off the device and holding a combination of the Power and Volume Up (or Down) buttons. Caution: This will erase all personal data on the device. 2. The Mi Account & Cloud Lock

If you can still access your phone's settings, removing a lock is simple. However, if you are locked out entirely, a more drastic approach is required.

Xiaomi devices feature an additional security layer tied to the Mi Account. If a device is reset without logging out, it may trigger a "This device is locked" screen.

Navigate to Settings > Passwords & Security > Screen Lock , enter your current credentials, and select Turn off screen lock .