You can enable the passcode lock by following the steps mentioned below:
Step 1: Tap "Settings"
Step 2: etting menu will pop up displaying various options. Tap "Security".
Step 3: Enable the passcode by moving the slider from left to right.
Step 4: After moving the slider, a screen will appear which requires you to enter "passcode". Re-enter it for confirmation and secure your app.