Before you lock your iPad, you should set up a security method. Depending on your iPad model, this can include Touch ID or Face ID.
To turn off the password on your iPhone, you'll need to open the "Passcode" menu in your Settings app.