sentence1: Freezing motion generally requires one, maybe two things: fast shutter speed, and flash at the right time.
sentence2: In addition to @Pearsonartphoto's answer, you can use flash (either the built-in or better yet, an extarnal) to freeze the motion.