The team announced Friday that they agreed to terms with goaltender Kevin Lankinen on a five-year, $22.5 million contract.