Animation locking to two skeleton points


What is the right way of handling animations that needs to lock to two skeleton sockets. I.e. Offset with a rocket launcher would lock to hand but also to should so that it does not go through the shoulder when aim offset aims upwards? Similar for rifle sticking two both the front and back hand when aim offset?

Any guidance?