A U.S. court has closed the door on "hostile work environment" and wage discrimination claims made by a former BlackBerry Ltd. executive who accused the company's CEO of sexually harassing her and then retaliating against her when she reported the behaviour.