Need help with Runtime Socketing?

Hi, I’m importing Fbx on runtime but what I want to do is attach components to it on runtime. For example machine having a board attach to it. As you can see below,

Now when I rotate the component, due to being the parent, it also rotates the machine with itself.
How can I change the attachment to move with the machine instead of the other way around?