Unable to eject disk images or drives in High Sierra
Often when a drive is plugged in Spotlight begins to index the entire drive.  While this is occurring Spotlight is "using" the drive and therefore can't be ejected.

Try adding a Spotlight exception:


System Preferences>Spotlight>Privacy
+
Select your drive
Choose