EE are a nightmare to unlock phones when the buyer isn’t a customer. I brought one before off a mate for the life of me I couldn’t get them to unlock it!
Ended up being I was told an EE sim had to stay in the phone for 6 months with a top up every month before they would even consider it.
I got a refund, it wasn’t worth the hassle.