6.12.22 rom, was the last rom before to install android 7 rom by update. This lock again de bootloader. download the rom android 7, I recommend development, install by update. then check the bootloader, and install the twrp by adb
I recomend you
- last stable ROM miui 9 from miui.com site by...