The android 10 is not yet officially released but this TIP will help you prevent against no solution bricks and bootloops.|
If you do this and you get bootlooped or bricked, you will thank me later. After the android 10 update you can disable OEM unlocking and developer options too and never again do that becouse Android updates will be delivered via Google Play store and there wont be a need of rebooting.
In order to fulfill the basic functions of our service, the user hereby agrees to allow Xiaomi to collect, process and use personal information which shall include but not be limited to written threads, pictures, comments, replies in the Mi Community, and relevant data types listed in Xiaomi's Private Policy. By selecting "Agree", you agree to Xiaomi's Private Policy and Content Policy .