Is AT&T Unlock temporary or permanent?

I had bought iphone 6s from US online site. It was "sim not valid". When i request AT&T, they unlocked my phone. Now my sim is working well. Can I use it permanent?

Yes. And you can also change carriers, get THEIR SIM at will, since your phone is unlocked now.

Permanent.