./bitcoind encryptwallet <passphrase>
Encrypts the wallet with <passphrase>.
./bitcoind walletpassphrase <passphrase> <timeout>
Stores the wallet decryption key in
memory for <timeout> seconds.
./bitcoind walletlock
Removes the wallet encryption key from
memory, locking the wallet. After calling
this method, you will need to call
walletpassphrase again before being able
to call any methods which require the
wallet to be unlocked.
Ty for this, I had a friend trying to help me figure it out but he couldn't seem to dig anything up.