I've heard that if I buy a new Iphone right now, I cannot unlock it. Is that true?

And what's with the serial number of the Iphone and being unlockable or not? The fourth and fifth digits of the serial number tell whether or not the iphone is unlockable?