Find the Android Build number in Settings
Stock Android: Settings > About phone > Build number
Samsung Galaxy S5: Settings > About device > Build number
LG G3: Settings > About phone > Software information > Build number
HTC One (M8): Settings > About > Software information > More > Build number
tap on the section 7 times. After two taps, a small pop up notification should appear saying “you are now X steps away from being a developer” with a number that counts down with every additional tap.
When the Developer options are unlocked, you should see something like this “You are a developer”.
After the 7th tap, the Developer options will be unlocked and available. They can usually be found in the main settings menu. You dive into that menu to do things like enable USB debugging (a frequent prerequisite to lots of hacks).
Removing Developer options is possible, but only for certain phones
Go to Settings>Apps>Settings and tap on Clear Data. A popup will ask you to confirm, press OK, and you’re done. This method may work with more phones and tablets, so be sure to let us know in the comments below if it worked for you.