With the developer options in Android you can use various functions such as, for example, the USB debugging. Many of the available options are there but unfortunately actually intended for developers, which is why it is not necessary to activate the developer options. If you have activated them you may have now the idea to disable or to hide the developer options within the settings.
If this is your thought, then have to disappoint you, because the developer options, once unlocked, will not disappear.
Only a reset to factory settings can hide this extra menu item in the settings.
You know now that it is not possible to hide the Android developer options again in the settings.