If someone at work says to “please stop talking to me” and “go away” when you meet them, is it harassment to block their path?

Was watching the movie Elf last night and it struck me that Jovie clearly gave no consent when approached :

https://youtu.be/v-mJ1XPb1dU?si=DP9iI2bfRrBR1icp
If someone at work says to “please stop talking to me” and “go away” when you meet them, is it harassment to block their path?
Post Opinion