In Windows 10, you can now use the Settings app to remove temporary files manually or automatically starting with version 1803.
To manually remove temporary files in Windows 10 using Settings, do the following:
Open Settings > System > Storage
Once you completed the steps, those files you selected will be permanently deleted from your computer freeing up space for more valuable files.