Answer
Joël Matip's current contract with Liverpool expires on 30 June 2024. This means that he will become a free agent on that date and will be able to sign for any club without a transfer fee. Liverpool may offer Matip a new contract before this date, but if they do not, he will be free to leave the club.