Manage PIN code for lock/unlock applications