There’s another method in free form drawing: once you’ve drawn a line or shape, simply long press at the end point of the line or shape. For example, after drawing a line, keep your finger on the screen at the end of the stroke — the line will automatically snap into a straight one.
I hope this explanation is clear!