How to rotate using motioncontroller in VR around X axis?

I am developing a key system with a keyhold and a key. Once my key is in red sphere, it attaches to the spline. My aim is to make the key rotate the same way as my hand I showed in the video, but having other axis as constant (basically so that the key faced the keyhold and could only rotate right to open the door like in real life). Let me know what to fix in my blueprint regarding rotation, cause I have no clue of what to do there, I tried everything (btw, I am working with grabcomponent from VR template)