Information
This policy setting allows you to block direct memory access (DMA) for all hot pluggable PCI downstream ports until a user logs into Windows. Once a user logs in Windows will enumerate the PCI devices connected to the host plug PCI ports. Every time the user locks the machine DMA will be blocked on hot plug PCI ports with no children devices until the user logs in again. Devices which were already enumerated when the machine was unlocked will continue to function until unplugged. This policy setting is only enforced when BitLocker or device encryption is enabled.
Solution
Policy Path: Windows Components\BitLocker Drive Encryption
Policy Setting Name: Disable new DMA devices when this computer is locked