A Lithuanian man suspected of killing four members of his family has been detained, police said on Tuesday.