Is T-mobile iPhone 6 unlocked
The "no service" can have other reasons than the SIM card and iPhone lock.

Since it worked in Sweden (with non T-Mobile SIM) then the iPhone is unlocked.

Try another provider or better try a prepay SIM to see if that works in Ghana.