There are no "codes" to unlock the 4S, no hardware or software unlocks for the 4S. and there is no Jailbreak either but there is an expected jailbreak in a few days so hopefully it wont take long to unlock it either but we shall see.
Basically atm you have a paperweight