Question [Q] Where to buy S5???

I'm on the AT&T network but plan on purchasing the device off contract. Can I buy it from another carrier that does not have the bootloader locked (like sprint) or international version and have it work on AT&T? Disadvantages? I know carriers have different modems and tech, but I thought maybe the device could handle both.

Thanks.