How to enter my Unlock Code on T-Mobile G1 ?
1 - Switch ON the phone with a not allowed SIM Card 
2 - Phone will ask "SIM Network Unlock Code" 
3 - Enter code