Newbie with a few questions

Hi all, Im a brandnewbie here to iphone. I read some and just want to ask. Im buying a phone, should I buy one with the 2.2.1 os or look for the older os? If it has 2.2.1, is that means it cannot be unlocked now? A guy tried to sell me a phone with 2.2.1 and it is unlocked because it took my tmobile sim. You can jailbreak 2.2.1 now right? Kinda confuse thanks for your help.
You can jailbreak 2.2.1

You can unlock 2.2.1 if you have a custom firmware that did not update the baseband to 2.30.

Original thread: https://forums.imore.com/threads/newbie-with-a-few-questions.169457/