I'm using SharePoint 2019 and I'm trying to edit a page on my site, but I get this error: "This page has been declared a record or placed on hold and is locked as read-only."
As you can see, the Edit button is disabled as well as I can't even undo the checkout to discard the page changes. How can I fix this error so that I can edit my page in SharePoint 2019?