Open AppLock -> Draw a pattern -> Confirm pattern; or
Open AppLock -> Enter PIN code -> Confirm PIN code
Note: For android 5.0+, allow Applock to use usage access permission -> Find AppLock -> Allow usage access
Open AppLock -> Settings
Reset password -> Enter new password -> Reenter password
At present, you can reinstall AppLock if you forget the password.