User Activity

Hi. I have an android phone which is locked to O2. I am in Australia and want to use a local SIM. I have received my unlatch code from O2 but it is unsuccessful. Do I need to be in the UK to unlock it?