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.
- Tap on Secure Folder
- Open the Menu
- Tap on Settings
- Tap on Auto lock Secure Folder
- Choose an option