Microsoft Power Automate template
Convert a Word document in SharePoint to PDF and protect with a password
By PDF Blocks
Use this flow to convert a Word document 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 Word document in your SharePoint library, and enter your preferred password.