To specifically answer the OP question:
Cheap bikes can be reliable, but often suffer from poor assembly. It's like lights... the cheap bikes of today are better than expensive bike shop bikes from X years ago.
If you don't know how already, check youtube for video on how to adjust the most common items PROPERLY: brakes, seat, handlebar, shifters.
Keep the bike out of the RAIN.
Clean the chain/gears when they get 'gunky', when the oil you are using has turned to more or less grease.
It's fine to use motor oil on a chain/derailleurs. I ran nothing but motor oil for chain lube for 15 years on the same chain for over 10K miles.
The only special oil you really need it an oil can with a 'needle' spout for oiling INSIDE the cable housings. That will 1) keep cables from rusting and 2) keep brakes/shifting smooth.
If you have a choice, shifters by sram tend to be easier to keep working than shimano due to sram using more cable (2x) per shift... they are less picky about a little cable sticking/friction.
But a mountain bike with street tires, inflated to 60-80 psi is rugged, fairly comfortable, and fast.