My co worker passed weird comments at me

As the title says, yesterday one of my co worker who is double my age said some creepy comments. I was sitting and working. He is the IT admin of our organization. He came to resolve issues in my manager's laptop while she was not there. He looked at me and started to say things like, "Gone case, she's gone case". I ignored. I was shaking my leg while I was working. So he kind of asked, "Why are you shaking your leg?" I said, "Just like that." He then said, "Tumne toh (mentioned a city name where I have been) udar bhi bahut hilaya hoga" I ignored that as well. Later he kind of whispered, "Per night, what rate? 2 shots". I asked him "What?" Then he was like I was asking (referring to my colleague) him to go drink tonight. "

It kind of started to affect me a lot and today I opened up about this to my ma'am and it got escalated to my HR. They said they are proud of me that I opened up. I am kind of scared now. There might be some drama tomorrow. Did I do the right thing or should I have ignored?