As you've figured out,...they don't have an autism.
So, if you want to mimic that behavior,...like so many of us have to do in social situations,...it's part of that "masking"/"camouflaging" mode we get ourselves into. I can tell you from working in a busy hospital and dealing with people professionally for as many years as I have,...it doesn't come naturally for folks like us. You have to think, observe, and reciprocate,...as you've figured out,...it can be awkward at times, but there will be times when it seems to flow with certain people.
Most people, if you give them an opportunity, will love to talk about themselves. Most people just want to be listened to. Most people have struggles, worries, anxieties. Most people have family that they love to talk about. Most people have interests, hobbies, work lives, vacations they went on or are planning. Depending upon the situation and person, you can simply tap into whatever their current life concerns are,...if you are asking appropriate questions with an open mind and expressing concern, interest, and empathy. Express interest in them, as a person, and most will open up to you. Now, if someone is not in the mood to talk and they are not reciprocating on their end, giving you short answers, acting disinterested,...you have to politely exit the interaction. On the other hand, some people will open up and talk your ear off to the point where you might want to politely exit the interaction. Pay attention to the people you wish to speak to,...eye contact, body language, voice modulation,...things that we should be paying attention to, but often don't.