in the gallery app on the samsung device you can optionally activate a Recycle bin. photos and videos that should be deleted are first moved to the Recycle bin where they will be deleted automatically 15 days later. the advantage, accidentally deleted photos can be restored.

Android 10 (One UI 2.0)
Step 1:  Open the  Gallery -App
Step 2:  Open the  menu
Step 3:  Open the  Settings
Step 4:  Enable or disable  Recycle bin
  1. Open the Gallery-App
  2. Open the menu
  3. Open the Settings
  4. Enable or disable Recycle bin

Samsung Instructions