CmdID / PowerShell / Cmdlets / Lock
Lock-BitLocker
Prevents access to encrypted data on a BitLocker volume. Windows Server PowerShell reference
From the Windows Server PowerShell reference 4 parameters Its page in the reference
Parameters
-Confirm, -cfPrompts you for confirmation before running the cmdlet.-ForceDismount, -fdIndicates that the cmdlet attempts to lock a drive even if the drive is in use.-MountPointSpecifies an array of drive letters or BitLocker volume objects.-WhatIf, -wiShows what would happen if the cmdlet runs.