By default, the "Secure Folder" is automatically locked on Samsung devices once the display is turned off, but it can also be locked immediately, on restart or at a certain time.
- Open the Settings
- Tap on Biometrics and security
- Tap on Secure Folder
- Tap on Auto lock Secure Folder
- Choose desired Option