The law forbids sexual harassment and assault on the job. But it can also discourage employees from speaking up.