Processes are state machines.


Processes are most often created by operating systems.


Dig deep into the operating system's documentation and you will, inevitably, find a state diagram.