How to Unlock iPhone 3G/3GS/4 on iOS 4.1

How to Unlock iPhone 3G/3GS/4 on iOS 4.1