HarryS is correct, though if you're in good standing with your provider they will usually unlock them for you if you explain your situation. You should be able to swap sim cards, but it doesn't always work, I've had mixed results in the past doing that. Whatever you do, don't use data if you don't get a local plan.