First, confirm that your device can be unlocked
Your device functions normally and not in a bricked, soft-bricked, bootloop state.
Your PC has necessary Mi USB drivers and platform tools.
You are on the official MIUI ROM and have a Xiaomi account.
You have already inserted a SIM Card into...