If you have locked yourself out of the Plesk control panel due to too many failed login attempts, you can reset the admin account by following these steps:
/usr/local/psa/bin/admin --set-password -passwd NewPassword
Alternatively, if you do not have access to the server via SSH, you may need to reset the password through the database. To do this, you will need to connect to the database and update the psa.accounts table. You can use a tool such as PHPMyAdmin or the MySQL command line client to do this.
UPDATE psa.accounts SET password='NewPassword' WHERE id=1;
It is important to note that these steps are for resetting the password for the admin account in Plesk. If you have locked out a different user account, you will need to use a different method to reset the password. You can refer to the Plesk documentation or contact the Plesk support team for more information on resetting passwords for different user accounts.