Please provide more information about this error.
Phone model, what work has been done with it by this moment?
At what stage is an error?
It would be ideal to see the logs.
Connect ONLY RJ45(com cable) then unlock again. Unlocking only via COM parts of 2in1 cable.