Is it not an unlocked phone that's not bound to a carrier? Should be factory unlocked.
It is but they asked me for a code anyways
If it's unlocked, how are you going to get an unlock code for it? They want it doubly unlocked? Either the phone is actually locked, in which case you need to contact the old carrier or where you got the phone if it was new, or that employee did not know what they were doing.