The action can’t be completed because the file is open in another program” might be one of the least helpful messages Windows ...
To restore a file, right-click on it and choose Restore (rather than Delete forever ). To restore multiple files, use the Shift key or the Ctrl/Cmd (Windows/macOS) key to select all the files you want ...