This is How to Unlock any Samsung Galaxy S2 SGH-i777 and SGH-i727 Phone from Networks such as T-Mobile, At&t, Rogers, Fido, Telus, Bell and other Carriers.
After unlocking your Galaxy S2 device it will be permanently unlocked and open to use on other GSM carriers even after updating the firmware.
Galaxy S2 Unlocking Instructions / Unlock Code Input
1. Turn on phone with a foreign simcard
2. Phone will ask for "Sim Network Unlock Pin" or "Sim Network Control Key"
3. Input the 8 Digit Unlock Code (Network)
4. Your phone is unlocked!
*If you don't have your Unlock Code yet for your Samsung Galaxy S2 i777 and i727 you can get it here