Hello there!
Which of Newton's laws is related to the condition "A force is required to cause motion to deviate from a straight line"?
This would be known as Newton's (first law) of motion.
In other words of saying this, an object that stays in rest, stays in rest, but as for a object that stays in motion, stays in motion, until something were to stop it or go against it.
I hope this helps you!