Bitlocker

Encrype a drive and get a recovery key

manage-bde -on j: -RecoveryPassword

Encrypt a drive providing your own recovery password

manage-bde -on j: -RecoveryPassword 249238-002442-716694-646503-010879-234894-155485-185372

Lock a Drive to prevent access

manage-bde -lock j:

Unlock a drive

manage-bde -unlock j:

Unlock a drive by guid, useful for Windows Backup

manage-bde -unlock \\?\Volume{47448112-0000-0000-0000-010000000000}\ -RecoveryPassword 249238-002442-716694-646503-010879-234894-155485-185372