Help for iphone 4 unlocking

Hi
I have an iphone 4 which i got around 4 years ago when it came out. I bought it from UK and it had tmobile network. It was jailbreak unlocked and so it has remained on iOS version 4.0.1 these past 4 years. But now I need to upgrade it, so since it has been 4 years has the lock been lifted? Can I easily upgrade it or do i need to go through some process? Any help is appreciated. thanks
You can either have it unlocked or upgrade: Note that if you upgrade to the latest OS you cannot JB anymore and just have it unlocked.

Original thread: https://forums.imore.com/threads/help-for-iphone-4-unlocking.285042/