If the folders are currently used by other applications or are locked, then you cannot delete the folders. You can close all applications and try again. If it doesn’t work, you can try the 3 methods in this tutorial to force delete the folder in Windows 10.