The best way to let object swing?

I try do the tower block game in unity3d,
how to make the object swing ultimate?

using joints:hinge joint,fixed joint,spring joint u can do it!!

after that i wanna let the object fall down? i need disable the code?
how to disable the joint?