First, you need to go to Company > Settings > Modules > Employees > Other and check the box "Protect payslips with a password".
You can set an individual password for each employee on their profile card in the HR module.
When generating payslips, you will then be prompted to enter a so-called master password. This master password is intended, for example, for a payroll accountant who uses it to access all payslips.
