There has been concern that non-disclosure agreements have been used to silence those in workplaces suffering harassment.