You asked

Which aps c lens with autofocus is best for indoor portraits in dim rooms?

For dim rooms, the lens matters more than anything else. The guide's portrait lens picks favour a fast prime, and on APS-C three lenses fit well:

Start with the 50mm f/1.8 if you want one lens, or the 33-35mm if the rooms are tight. Whichever you choose, pair it with a mirrorless body that has eye autofocus. The guide notes that current mirrorless cameras find and track the nearest eye well, which keeps faces sharp at wide apertures. Image stabilisation steadies the camera, not the subject, so it helps less than a fast lens and a good autofocus system in dim light.

You don't need a full-frame body for this. The sensor sizes page says full frame wins for very shallow depth of field in low light, but a fast APS-C lens closes most of that gap for far less money. To check framing before you buy, the focal length converter shows what each lens gives you on your sensor.

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