How to setup Physics Contraint behave like tight hinge

Hi! Is it possible to setup constraint to behave like a really tight hinge, but with some freedom when pushed?

Like in this demo: