Frank Lampard's Derby County side produced a fantastic comeback at Pride Park as Jack Marriott and Tom Lawrence salvaged a replay with two goals in three minutes in the second half.