South Korea's President Lee Jae-myung said he will restore a military agreement to rebuild trust with North Korea.