If you have the official software, open the PDF and go to Tools > Protect > Encrypt > Remove Security .

A well-known suite of free PDF tools that includes a security removal feature. 3. Open-Source & Command Line

A powerful command-line tool. Using the command qpdf --decrypt input.pdf output.pdf can often remove editing restrictions without needing a password.

Using cracked software violates terms of service and copyright laws.