i think you can make-out of what i did for my mi max 2 and apply it in your case:
1. while still with official miui global stable rom 8.5.6.0, requested permission and secured approval to unlock the bootloader. unlocked the bootloader.
2. flashed custom recovery, twrp, permanently to replace...