Yes there is.
For an Intel cpu go into the bios of your motherboard and disable intel speed step.
For a Amd FX based cpu disable cool and quiet in your bios.
Then in windows go to windows control panel.
System and security.
And the power options.
set the power mode config to High performance.
and apply the new settings.
The cpu core speed will stay at it`s highest working speed.