Thank you so much for approving the post. But I have resolved the issue with the help of this article. They suggested some simple solutions that helped to solve the issue.
The tasks which I have done, first I repaired the Steam service and restored Windows Boot settings to default. After doing the tasks properly, the problem got solved. Now I have no longer any issues while playing the game.