HP-UX provides SAM utility which can be used to do all user account administration; incase there is a need to unlock someone’s account and you don’t want to go through SAM’s menus; following is a handy command for this situation:
/usr/lbin/modprpw -l -k username
It will unlock the user account. This utility is only available on trusted system and you will have to run it as root.
Man page for modprpw can be found here http://www.docs.hp.com/en/B2355-90691/modprpw.1M.html