Other system specifications, and resource usage may indicate the cause
of this slow-down at those times; the Console log files may be helpful if
you use them according to exact time of each occurrence, for details.
Disk Utility can also be helpful to compare certain items in the system.
Even to simply look into the overall picture by use of a system report
generating tool such a Etrecheck http://etrecheck.com/#about may be
one way to have a report and also post a copy into these discussions.
I'd suspect part of the lag may be due to the amount of saved content
on the computer storage drive; if the content is becoming too much
the resulting lag may be due to temporary swap files or virtual memory.
You may need to archive some of your user-generated content to external
hard drive storage for later retrieval, and then remove the original from HDD.
The amount of unused capacity of the boot drive, aka "free space" can be
of major importance since the Mac system will use that capacity to run.
In addition to more memory (RAM) installed, a larger hard drive could help.
Or less accumulation in the hard drive where the system lives.
Good luck! 🙂