i was gifted a sprint s5, contract ended from a friend. and i want to replace my old phone with this new one, will the unlock code work? i am currently with verizon. took it there, but they said it was locked and can't activate it. will the unlock code work?