you can unlock it ufi jtag with isp method. first check find device off or on. if find device off flash just redmi 6pro mi acount frp file if find device on and phone version 9 then you can flash 8.1 fastboot rom via isp connection then flash mi acount frp file then enable adb fix anti relock that's it.