Please go to Preferences > Settings >Change passcode.
You will be asked to enter a current passcode and then a new one.