There is an existing GPO which allows drives to be hidden, however, this is limited to pre-defined drive letters (A, B, C, D - or some variation of those) which isn’t particularly useful if you have other drives you’d like hidden.
There is a clever way around this using GPP Drive maps
User configuration -> Preferences -> Drive Maps
Set the action to Update, under Drive Letter, select the drive, and under Hide/Show this drive select Hide this drive. No other configuration is necessary. You can apply Item Level Targeting if required.
It goes without saying, this provides no security at all, it merely hides the drive from the users, it does not deny them access.