If you read Lenin's "State and the Revolution" (1917) it's quite clear that the dictatorship has been the plan from the very beginning, and it was quite extensively supported by quotes from Marx and Engels.
https://www.marxists.org/archive/lenin/works/1917/staterev/ch01.htm#s4