Developer options is used to root your device. If you are going to install a custom ROM or want to root your phone. Then, for this purpose, you have to enable the Developer Options in your device. Normally, this option is hidden away from the average users of the phone, but you can avail this option easily through following some guidelines.
The very first step is to find the build number of your device in settings. This option may be found under settings section. But for different devices, you have to tap different options to reach build number. In Stock Android devices, you have to simply go to Settings, then to About Phone and there you will find build number.
In Samsung Galaxy S5, you can find build number in About Device option buried under Settings menu. In LG G3, you can trace build number from About Phone, then System Information and there will be Build Number. In HTC One, you can get build number option by going to Settings Menu, then to About option and then to More option in System Information.
After finding the build number section in your device. The next step is to tap on the section for 7 times. When you will tap for 2 times, there will be a pop-up notification appeared which will tell you that you are N number of steps away from being a Developer. After taping for N numbers, you will get the Developer Option. The developer options can be normally found in main settings menu like enable USB debugging.
So, are you willing to get rid of this developer options now, then you can do that by setting your phone to factory reset. There are few phones available which can wipe out these settings without wiping the while device completely.