This sentence uses the past continuous for an ongoing action ('not looking') and the past simple for an action that happened during that time ('talked').
5 I was not looking (not look) when Paul talked to Marie.