I don’t know if you run into this problem or not, but on occasion I do. You put a file in the Trash. When you go to Delete it, the macOS says it is in use. But, you know the file is NOT in use, the Finder just thinks it is. This article describes several ways to overcome this problem. If this has not happened to you, it will. It might be a good idea to read the article.