Go to your profile by clicking Me page
Click on the setting icon in the top right corner.
Click on the security option.
We have to enable the passcode option.
Enter the password you want to set.
Re-enter the password for the cross-verification. Once you done by re-entering the password on xallet it get enabled automatically.