If its not relevant to the story or character development. The fact a character is autistic or autistic coded shouldn't be what you should worry about, because a trait or condition shouldn't be the character's whole personality, and different from actual humans, certain trait or condition doesn't always mean is an important part of themselves, especially through the construction of the character around the story and its turning points.
Like, a character being autistic won't be as important in a story that focuses in getting in adventures, fighting and screwing it up then having a new problem compared to a story that focuses on character's relationships and coexistence
Focus on making the character first, then later label them or simply let readers interpret it.
For example, Lynn from All Saints Street is an angel, there isn't anywhere explicity said he is autistic or if he has OCD. Yet, the fandom interpret him as such based on certain things he does or how he does them. Like his obsessive need for everything to be clean, his perfectionism, or the fact he has 107 PhDs and is currently studying anthropology.
Yet, for someone that is not very experienced creating characters and implementing their traits in a story, or someone who lacks information in a certain topic and wouldn't do as much research, it is always recommended NOT to work with certain diagnosis, conditions and such, since if they are done poorly, it'll end up being a stereotype or an insult to another person that does have it or is it, regardless if you're autistic as well.
For this example, the movie by Sia named "Music"
Despite she was later diagnosed with autism, her research for the movie was bad, both the movie and her response after the critiques ended up being taken as ableist, she made a non-autistic person interpret a high support needs autistic person, and besides hurting the actress by implementing physical restraint that is dangerous and shouldn't be used on actual autistic people, and it turned said character into a prop to further the storyline of the real main characters (the allistic people).
It would be best to focus on making your character and not label them, sometimes it is best to not purposefully seek such thing and then expect others to see it, because the portrayal could end up with a negative execution that later becomes harmful for certain individuals.
Still, sometimes a character being autistic or autistic coded is done purely by accident, either by an actoral decision, the author just giving their personal traits to said character that honestly it doesn't matter if you know the difference if its your personality, symptoms or feelings. Sometimes people worry way too much about categorizing and labelling that they don't realize that... they are not being that different from neurotypical people or ableist people by putting a name to actions, behaviors of what is not an actual person, but the fictional idea of a person.
But about the accidental autistic character, there is also a good example for that.
Castiel from Supernatural.
When Misha Collins was preparing to play this character he received the following information: Castiel was a warrior, a powerful angel that would help the protagonists, but that hasn't been among humans for almost 2000 years, that they were creatures that felt alien to him, he tries to observe them, understand them. That Castiel's people skills are rusty, 2000 years rusty. He observes humans and tries to understand how they work and how different he feels because he is not human, but an angel.
When he did the performance, the writers liked it yet they adapted some things based on Misha's actoral choices and even part of his behavior, he put a bit of himself there as he always felt he was a weird guy that didn't fit much in certain groups and that he also wondered if he was on the spectrum, Misha went for a diagnosis and it seems he is not autistic but has ADHD, yet another form of neurodivergency.
Yet, when more angels began to appear in the Show, it seems that some actors didn't get the memo of the fact angels haven't been on Earth for 2000, nor bothered checking Misha's acting for reference, so when you see them playing these other angels and not only behaving more similar to humans but also commiting microaggressions towards Castiel, who ends up being not only different compared to humans, but compared to angels as well. He ends up being interpreted as autistic by the audience, the actor and writers.