I am a native speaker and I think it could’ve been clearer, but I did know who was locked in. To me it read like this “The adoptive parents of (the of completely separating it) two kids found locked in a barn…” I don’t know the rule or anything, but on glance the of cut the sentence in 2 for me making the barn modifier apply to the children. It might also just be entirely grammatically incorrect too lol