Liverpool are planning to take up an option on Dejan Lovren's contract that will tie him to the club until 2022.