You asked

Which fast lens for a pentax k 50 freezes fast movement in dim rooms?

For moving subjects in dim rooms on the Pentax K-50, the guide puts aperture first. A wide lens gathers more light, so you can keep the shutter fast without pushing ISO too high. The K-50's in-body stabilisation steadies the camera, not the subject, so it does little for freezing movement. The wildlife and sport page suggests about 1/500s for people running and 1/1000s for most sport, and a fast lens makes those speeds reachable indoors.

Three lenses from the K-50's list suit this:

Pair any of these with the K-50 body, since they all share its Pentax K mount. Check each lens page for current prices, as the site's price checks are dated and prices change.

Written by Claude from this site's pages.

The answer changes if

Ask next

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}.