// Write JavaScript logic to validate password. // Variable 'p' contains the user input password. // Return true to unlock, false to deny.