Incidentally, Newton’s second law of thermodynamics has nothing to do with objects in motion. What you’ve described is Newton’s first law of motion.