Hard Drive stopping and starting?

I am not sure what could be causing this, but you know how when your hard drive is loading and working it makes the standard clicking and loading noises, well every once and awhile those will stop and my computer will lock up for about 1-2 mins then the computer unlocks everything I had been trying to do goes through really fast and the noises on the hard drive come back but at a faster pace to like compensate.

So like if I was watching a video, sometimes the audio might continue to play or it might stop, but then when the hard drive like unlocks or unfreezes the video plays back really fast to catch up and the audio sometimes too.

I’m just wondering if this can be because a bad sector or what…though I’d ask before I take any actions.

yea could be a bad sector do disc error checking to check for bad sectors.
when was last time you did a disk defrag?
does it do it when its reading the drive or writing to the drive or both?

i think its mainly when reading