Walletpassphrase whateveryourpassis 4000 false
That's what it would look like you just go into help then debug then console then type the command in.
The 4000 represents the time in seconds you want to unlock your wallet for minting
Make sure you type in your passphrase "what ever you used"