iPhone: go to Settings → General → About. If Carrier Lock shows “No SIM restrictions”, your phone is unlocked.
Android: go to Mobile networks → Network operators in Settings and search for networks. If you can select several different carriers, your phone is unlocked.
Phones bought from official retailers in Vietnam are usually international versions and aren't carrier-locked.

