Physics constraint lock in place not working

Hey, I have this system where I want to connect my connector to a slot. The connector should increase friction as I insert it deeper, which I use Linear Velocity Target to manipulate. Then when it’s fully inserted, I want it to lock until a certain about of force is applied at which I will disable the lock, and we can pull it out again.

Anyway, setting velocity target to 0 and increasing the damping with respect to depth inserted works fine, but I’m having some issues locking the PC. If I use limits, LCM_locked or even LCM_limit, the physics explodes. I assume this is because it’s somehow trying to set the frame1 position == frame2 position, so that is a no go.

I am now trying to set the linear position drive, where I set the position target to the relative position between the frames, but it’s not applying any forces even though I set the PositionStrength to BIG_NUMBER to simulate infinite strength.

PC->SetLinearPositionTarget(TargetOffset);
PC->SetLinearPositionDrive(false, false, true);
PC->SetLinearDriveParams(BIG_NUMBER, Damping, BIG_NUMBER);

If someone has some experience or know how here, it’d be greatly appreciated.