You may want to query the number of "file opens" that are currently active against the file through property InUseCount of class CIM_DataFile class but it always returns NULL.
Currently, InUseCount of class CIM_DataFile class is not implemented in Windows.