As the hit thriller returns to our screens, its creator talks about false starts, surprise inspirations – and why he never looks inside Jackson Lamb’s head