Yes, it DOES say that. BUT, and this is a VERY big "but". It specifically says, thou shalt not lie with a man as thou liest with a woman, for it is abomination."
The Hebrew word for Abomination was referring not the sex itself, but to the manner of the sex, and it was referring to the fact that males had ritual sex with other males in the temples of Canaanite Faith. NOTICE: It says NOTHING about women lying with other women! Why not? Isn't that homosexuality? why condemn the one and not the other?
Also notice that it demands a Jew to grow a beard. Why? Because in nations around Israel, eunuchs were used as feminine ends of homosexual pairings. And eunuchs were not allowed to grow beards! Also notice it forbids castration of any male creature, human or animal? But if the condemnation is against homosexuality on a blanket level, why not just say "no being gay". Why specify only the submissive MALE end, but not the dominant male end, and no reference to the females at all?
And we go back to the word "Abomination". The Hebrew word specifically refers to sex in the ritual sense that is impure in the temples, and can be hetero or homosexual. The Holiness Code was telling male Jews how to be male. It wasn't directly forbidding homosexuality, although I do expect it probably was discouraged. But it is NOT directly forbidden.