You asked

Which lens would best freeze action indoors with the a6400?

For indoor action on the a6400, the lens matters most through its maximum aperture. A wide opening lets you use a fast shutter without pushing ISO too high, and the wildlife and sport guide suggests about 1/500s for people running and 1/1000s for most sport. The a6400 has no stabilisation in the body, but stabilisation steadies the camera, not the subject, so at those speeds it matters less than the aperture.

The a6400 page lists these lenses that suit indoor action:

The fastest choice is the Sony 50-150mm f/2 GM if you're shooting distant action, and the Tamron 35-150mm if you need to cover a wider scene. Whichever you choose, the lens lets you hold shutter speed and keep ISO down, which the guide notes is the real trade-off for freezing motion. A camera like the a6400 stays clean at higher ISO, but a fast lens reduces how much you need it to.

Written by Claude from this site's pages.

From these pages

This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.