Unlock codes are specific to your device. You would need to contact AT&T or an unlocking service to calculate the code for your device.
I don't know of any free ones. Most companies charge between $10 and $40 for a remote unlock depending on phone model. -Jay