Hello,
What kind of code is it asking for? Is it a PUK code? SpeakOut customer service may or may not help you on this. You might have to contact BB to help. Make sure the Passport is indeed unlocked. It seems like it wasn't truly unlocked when you bought it.