Hi,
After you unlock the bootloader, your Stock ROM will be reset. Then flash TWRP from XDA, make a backup first. Then delete the necessary partitions, the data partition can be formatted, but will primarily fail, which is not bad.
Then just flash the xiaomi.eu MIUI 11 Beta ROM (Weekly)...