If you flash it at this moment, it will be locked back again.
You should first flash it and then unlock it. There is nothing you can do now, only pay again to unlock it after you have debranded.