The developer options can be turned off at any time on the Huawei smartphone by simply navigating to the overview and flipping the top button.

Android 10 | EMUI 10.0
Step 1:  Open the  Settings
Step 2:  Tap on  System & updates
Step 3:  Tap on  Developer options
Step 4:  Disable the  Developer options
  1. Open the Settings
  2. Tap on System & updates
  3. Tap on Developer options
  4. Disable the Developer options

Huawei Instructions