How to lock / limit max angle of physics object

try physics constraints.