With Smart Lock or Smart Unlock, as it is called on the Huawei smartphone, you can specify that the device remains unlocked when you carry it with you. Smart Lock uses various signals to detect whether the device is in your pocket or close to home. You have the following options to activate Smart Lock:

Android 10 | EMUI 10.0
Smart Lock -  Open the  settings
Smart Lock -  Tap on  Biometrics & passwords
Smart Lock -  Tap on  Smart Lock
Smart Lock -  Type in your  PIN
Smart Lock -  Choose between  On-body detection ,  Trusted places  or  Trusted devices  and follow the instructions on the display
  1. Open the settings
  2. Tap on Biometrics & passwords
  3. Tap on Smart Lock
  4. Type in your PIN
  5. Choose between On-body detection, Trusted places or Trusted devices and follow the instructions on the display