Creating a hinge that stays together when moving and animating

i m busy ideating an articulating mechanism for the top of a table to lift up and over some things housed under the table top. i want to know if theres a way to lock certain objects to one another in order to be able to see if the mechanism will work or not, in order to make sure the clearences work and the mechanism works.

i’d also like to animate the scene for render with twinmotion, i cant afford bongo so thats not an option, does anyone have any other ways they do it?