No you can't use the unlock code rendered by t-mobile to unlock at&t phone since unlock code are unique number for each imei number ...You can easily unlock your blackberry mobile fro AT&T network provider through online providers like OnlineGSMUnlock.com here they are rendering network unlock code for all mobile models at reliable cost ..You can use it and unlock the phone then freely use it with any GSM sim ...