Hello,
this is possible online today: open https://tools.pdf24.org/en/lock-pdf, add your PDF and click the gear icon (Additional options). Enter an owner password and uncheck "Copying of contents" and "Modification of content", then protect the file. PDF programs that respect these permissions then block copying and editing.
The same options are in the tool "Protect PDF" of the PDF24 Toolbox on Windows.
Detailed guide: What the permissions do