Go to Sources and from there turn off Show my photos and videos from OneDrive.
Open Start menu and find Universal title called Photos.
Photos scans your computer for new pictures, but in addition it also scans your OneDrive for pictures from time to time, and this can increase the CPU usage, so the best way is to disable that. Solution 5 – Change Sources for your Photos app
Turn off Photos, and you problem should be fixed.
Solution 4 – Turn off Photos in Background Apps
Choose Location and scroll down until you find settings for individual apps.
You can as well try to disable your Windows Camera app: Solution 3 – Disable your Windows Camera app
Find the Photo Background Task Host process.
Home › Windows › Fix: Photo Background Task Host Causes High CPU Usage in Windows 10