You can turn off autocorrect on your Samsung Galaxy S10 by disabling predictive text and auto replace in keyboard controls.