If you’ve just bought one and it’s (e.g., T-Mobile, Vodafone, or a regional provider), you might be looking for an "unlock code calculator."

Reset all settings, then enter the special code (12345 by default). Mobile Master Security Code forgotten by me for rmy Nokia GSM Phone 2626!