Character Death Animation Montage Problem

When I play the death animation montage of the player, it works fine but in the end of the animation it comes to the idle position then activates the ragdoll physics.

Character Death Animation Montage

My problem is similar to the one mentioned here but the solution doesn’t work for me.