How to create a lever that the player must left click and drag mouse and pull down?

Hi, I have a screwdriver puzzle that turns into a key. There are two prongs that need to be rotated 90 degrees. But I want to do it so that the player must hold left click and drag the prong out and when they let go it will just hold that current position or if they rotate it 90 degrees it stops. I have tried a physics constraint but it doesn’t seem to work for me, it just freaks out and won’t hold its current positions. Any ideas?