Lock constraint with saving an angle

Good day everyone!

Is there a way to use “Set angular swing limit” to “lock” motion type without reset current swing?
I mean after I changed swing of my constraint, I want to lock it in last position. But what I have is that constraint “straightens” and components linked to it return to original positions.

Thank you in advance!