That you’re in a relationship won’t stop people from admiring or moving to you.
If you’re in a relationship and someone who likes you, moves to you. Then you go ahead to encourage him or her. They definitely won’t back off. You obviously gave them green light.