The latter is generally called "suicide by cop".
Tämä tunnetaan nimellä suicide by cop.