Actor Merging and Socket creation using C++?

Hi, I am new to unreal and I am trying to work out how to create a Lego-like game. I stumbled across Actor merging and Sockets in the documentation, but I am unsure if I can use these features during gameplay to snap bricks together. The game should be able to handle around 2000 pieces being in play at once, and the player needs to be able to take them apart again after theyve been attached. Am I looking in the right place for what I am trying to do? If so, which of the two would be best for performance? If not, is there a better solution that I am not seeing yet?