* Output of `node_modules/.bin/electron --version`: 2.0.12
* Operating System (Platform and Version): Windows 10

**Expected Behavior**
`moveItemToTrash` should return `false` if the file is locked.

**Actual behavior**
`moveItemToTrash` does not return `false` when a file is locked.

**To Reproduce**
* open a folder in a command prompt (cd into it)
* run `shell.moveItemToTrash(path of folder)`
* observe the returned value is `true` indicating this operation was successful
shell/common/platform_util_win.cc
m_cRef = 0;
}
HRESULT DeleteFileProgressSink::PreDeleteItem(DWORD dwFlags, IShellItem*) {
  if (!(dwFlags & TSF_DELETE_RECYCLE_IF_POSSIBLE)) {
    
    
    
    return E_ABORT;
  }
  
  
  
  return S_OK;
}
HRESULT DeleteFileProgressSink::QueryInterface(REFIID riid, LPVOID* ppvObj) {
  
  if (!ppvObj)
    return E_INVALIDARG;
  *ppvObj = nullptr;
  if (riid == IID_IUnknown || riid == IID_IFileOperationProgressSink) {
    
    *ppvObj = reinterpret_cast<IUnknown*>(this);
    AddRef();
    return NOERROR;
  }
  return E_NOINTERFACE;
}
ULONG DeleteFileProgressSink::AddRef() {