Hello there,
Ntoskrnl.exe, short for Windows NT operating system kernel, is a fundamental part of the system.
I would suggest you to perform a clean boot and see if that helps. You can follow the steps from here https://support.microsoft.com/en-us/topic/how-to-perform-a-clean-boot-in-windows-da2f9573-6eec-00ad-2f8a-a97a1807f3dd
Try performing a full system scan for your computer to see if there are unwanted programs and script that slowdown your computer's performance.
The below thread discusses the same issue and you can try out some troubleshooting steps from this and see if that helps you to sort the Issue.
Hope this resolves your Query !!
--If the reply is helpful, please Upvote and Accept it as an answer--