The NHL has imposed a league-wide lockout, the sport's second work stoppage in a matter of eight years.