The October Revolution didn’t involve the majority of the population (workers). The Bolsheviks had strong support from railroad workers and the army specifically, and with key infrastructure captured they were able to eventually win the day, albeit after a famous civil war with working-class people fighting on both sides. Many successful revolutions throughout history were won by minority groups.
The October Revolution also wasn’t Russia’s first revolution that year. The tsar had already been ousted in the February Revolution, and considering that Russia had already begun to industrialize significantly in the final years of tsarist rule, it is certainly likely that Russia would have enjoyed rising prosperity even if Lenin had not returned from exile and made his coup.