To Set a Passcode on iPad, Go to Settings --> General --> Passcode Lock. On iPad, You can either have a 4-Digit Numeric Passcode or an Alphanumeric Password.
To set the former, toggle "simple passcode" to the "on" position.
To set the latter, toggle "simple passcode" to the "off" position.