These 2 flutes are almost exactly the same product. The 22SP is a newer version of the 2SP. They are both good flutes, and are great for beginners. You are more likely to find a 2SP in a used instrument store or used online, so it is likely you can find a better price on a 2SP.
The 22SP is a newer version of the 2SP. These flutes are quite comparable. I suggest for someone just starting out to find either of these in good used condition. Gives you a chance to see if it is somthing you will stick with, for less money. Both are good.
These are very similar models of flute; the 2SP is a newer version and benefits from some newer technology in manufacture. Both are solid flutes; if the prices are similar, the 22SP is probably going to be a somewhat better instrument. Good luck with the flute lessons!