Michael Lumb's unbeaten 115 helped Nottinghamshire close day three on 204-3 in reply to Derbyshire's total of 391 at Trent Bridge.