How to achieve ‘flow state’? Part-1

When you’re running, the mind does want to stop in the beginning but after a point it almost seems that the body is going on its own and the mind even if it logically wanted the body to stop wouldn’t be able to do so.