* 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
return S_OK;
}
HRESULT DeleteFileProgressSink::ResetTimer() {
  return S_OK;
}
HRESULT DeleteFileProgressSink::PauseTimer() {
  return S_OK;
}
HRESULT DeleteFileProgressSink::ResumeTimer() {
  return S_OK;
}
std::string OpenExternalOnWorkerThread(
    const GURL& url,
    const platform_util::OpenExternalOptions& options) {
  base::ScopedBlockingCall scoped_blocking_call(FROM_HERE,
                                                base::BlockingType::MAY_BLOCK);
  
  
  
  base::string16 escaped_url = L"\"" + base::UTF8ToUTF16(url.spec()) + L"\"";
  base::string16 working_dir = options.working_dir.value();
  if (reinterpret_cast<ULONG_PTR>(
          ShellExecuteW(nullptr, L"open", escaped_url.c_str(), nullptr,
                        working_dir.empty() ? nullptr : working_dir.c_str(),
                        SW_SHOWNORMAL)) <= 32) {
    return "Failed to open";
  }
  return "";
}
void ShowItemInFolderOnWorkerThread(const base::FilePath& full_path) {