Thought my 5 year old iMac lost it's mind. I tried everything. Getting rid of unimportant APPs like time machine scheduler, unplugging stuff. I finally started to suspect one of my external LaCie drives I use for storage. That one was backed up by a second one. After about 3 weeks o this I took my Mac and that drive in. Mac is fine. The enclosure was failing which was causing intermittent issues. Hard drive still OK. Hard to believe how much that would lock up not only programs but the OS and cause poor shutdowns and startups.

