Yes, a guy can still like you even if he has a girlfriend. It could be that the guy is attracted to you, but he cannot act on his feelings due to his commitment to his current partner. In some cases, it's possible for someone to be drawn to two people at once and may feel conflicted about what to do.