Typically that type of employee training in US is meant to limit sexual harassment, where a person thinks they are flirting and the co-worker on the receiving end is offended. HR would step in at that point and take action against the harasser, so i see that kind of training about being careful in socializing as a way to warn people about the consequences of their actions.
Is it sexual harassment because it's in the workplace or it's because the receiving end didn't like it/the flirting person or because flirting IS a sexual harassment?