Samsung devices support Android's built-in "Smart Lock" feature, which allows devices to be unlocked automatically when operations are performed. This includes, for example, wearer identification, trusted locations or trusted devices. If the Samsung device is identified as being near "home" or connected to the car you already know via Bluetooth, for example, it does not need to be unlocked. However, this also means that roommates, visitors or anyone else can access the device.

Android 10 (One UI 2.0)
Step 1:  Open the  Settings
Step 2:  Tap on  Lock screen
Step 3:  Tap on  Smart Lock
Step 4:  Enter your current  PIN / Password / Pattern
  1. Open the Settings
  2. Tap on Lock screen
  3. Tap on Smart Lock
  4. Enter your current PIN/Password/Pattern

Samsung Instructions