I have an iPhone 4S with sprint?

It has ios7 is there a way to unlock it so it can be used with AT&T because my friend wants to buy it but he has AT&T

Only Sprint would be able to unlock it and I don't think they usually unlock iPhones except for use outside the country.