In First step select the setting option in mobile .
in second step select the security option.
in 3rd step select the app Lock option.
After Select the App Lock option the app Encryption will appear . Enable the option. which you want to lock the app.
if You want to change the password of app lock. Select this icon and then change the password.