Try putting a smart or sun sim into the iphone before you take it to uk. If it works with either then its not locked to globe so you should be able to
insert your UK network sim. If it does not work with smart or sun then get it unlocked at a reliable cellphone repair shop