Hi, I'm Benjamin. Welcome to our site. I'm reviewing your question now and I'll reply with more details ASAP.
There two different ways to be locked out of a phone - one is that the carrier will not activate it and one where you can't use the phone. It sounds like the second one is the issue you are having, is that correct? If that is correct AND you don't have any data you don't mind losing, it may be easiest to just factory reset the phone. To be clear, this will restore the phone to a brand-new state with NO information or passwords on it at all, except if it is activated with a carrier, it should stay activated. I'm suggesting this because it sounds like you are frustrated and confused, so please let me know if this is the direction you want to go, or if you'd prefer going another route - I'll be happy to help either way.