
Sounds like a non-denominational or Baptist. I’m a catholic and we have the concept of the visible + invisible church (visible, those who are members, invisible those who aren’t members but are based on their soul. Ie those who didn’t accept Jesus but would if they had the chance). And the concept of ordinary grace (those members of the church who regularly receive the sacraments receiving God’s grace as promised) and extraordinary grace (God does what he wants bc he’s God)
So if a member of the invisible church receives ordinary grace, they can be in Heaven. Or a non-Christian receiving extraordinary grace and allowed into Heaven bc God can read their soul. Stuff like that. It all comes down to the ultimate decision is God as the perfect judge and merciful Creator. And comes down to trust in Him for His souls.
Lutherans are kinda similar. We focus more on Jesus calls all children to him (Matthew 19:14) and God WANTS to show mercy to every one he can, so baptized or not children (and thus babies) are saved through grace (and thru parents/community praying for them). We also in general consider baptism the ordinary form of salvation but not the ONLY form. Plus children are unable to consciously reject Christ, and thus cannot be damned for it. Thank you Martin Luther very cool