I can think of a few solutions. I’m not sure what you mean by “advanced” but if I’m understanding correctly either of these options should work well.
Just simple play an animation montage section when you press the corresponding buttons.
You can use the ‘Transform (Modify) Bone’ node in your animation blueprint and drive the translation of whatever bones you want. (You might need to attach your character hands to the weapon with the FABRIK node.)
You might also what to checkout using virtual bones, as sockets will not work with option 2.