complete

This function enables completed for the state machine definition prevent further changes to the state machine behaviour.