Question Galaxy S8+ Second hands

Sep 6, 2019
Hi, I bought a S8+ T Mobile second hands to replace my son's phone, I can use with a SIM from other country (which is my carrier) indeed, I'd like to have it fully unlocked and not see T mobile apps on it.
Does anyone can find or tell me how to find the code to fully unlock it?
Thank you