If you have forgotten your password, after a failed attempt. You have a option to 'Forget Password.' > this will cause you to login to your Samsung account. Once done, you'll be able to reset the password.
Mark this as a solution if helpful.
Kindly check how to reset the Secure Folder password:
If you have forgotten your Secure Folder password, you can reset it by confirming the Samsung Account you used to set it up.
1 Open Secure Folder on your device.
2 Enter your Password, if it's wrong, it will give you an option "Forgot PIN".
3 On the next screen, login with your Samsung Account.
4 In the pop-up box, tap RESET.
5 Select your preferred Password PIN or Pattern.
6 Enter your new password.
Here is the link for more information: