Two people have been killed in a head-on collision after police were tasked with conducting a welfare check on a woman.