To delay auto-lock on your iPad, go to Settings > Display & Brightness > Auto-Lock. To set a passcode-entry timer, go to Settings > Passcode > Require Passcode.