Microsoft Power Automate template
Convert a PowerPoint file in SharePoint to PDF and protect with a password
By PDF Blocks
Use this flow to convert a PowerPoint presentation in a SharePoint library into a PDF, encrypt or password protect the PDF file, and then save the encrypted PDF document to Sharepoint. The password protection requires any recipients to enter the password before they can open the PDF document. To start this flow, choose the PowerPoint presentation in your SharePoint library, and enter your preferred password.