I bought N9 locked to Orange operator (we call it actually "simlock" in Poland).
Compose #pw+CODE+1#.