From ThinkSecret
In order to comply with French law, Apple will offer an unlocked version of the iPhone when it goes on sale in France on November 29, but that country may not be the first to see a factory unlocked iPhone. While details are thin, sources are reporting that T-Mobile will provide an unlocked iPhone in its stores in Germany, as well.
The unlocked iPhone is not expected to be offered through Apple's Web site to German customers, however, and it's unknown what arrangement was struck to allow T-Mobile to offer the unlocked phone. Other sources, meanwhile, say the ability to unlock the German iPhone will be granted on a per-customer basis by T-Mobile as needed, not unlike other mobile providers that offer unlock codes to customers when requested.