How to block USB login if AD account name and user name is mismatched

Once administrator registered USB flash drives with AD account, it has an option to block the use of USB flash drives when the AD users name set up for the USB flash drives mismatches the AD user name used to log into the PC.

2. if set Block and if the user name set for the USB flash drive is different from the AD user name used to log into the PC or the user who logged into the PC did not log in with their AD account, the below notification will come up, blocking the login.