To enable this option under Firefox OS, follow the below procedure:
- From the homescreen go to Settings.
- Scroll to Privacy & Security > Phone lock.
Read
iPad Air biggest design change
- Turn on Passcode lock
- Enter a 4-digit passcode , confirm it and click on the Create button: