Google Pixel 4 XL
Android 10.0
1 Find "Screen lock"
Slide two fingers downwards starting from the top of the screen.
Press the settings icon.
Press Security.
Press Screen lock.
2 Create phone lock code using a pattern
Press Pattern.
Slide your finger across the screen to connect at least four points and press Next.
Repeat the selected phone lock code and press Confirm.
Press the required setting.
Press Done.
3 Turn off use of phone lock code
Press Screen lock and key in the current phone lock code.
Press None.
Press Yes, remove.
4 Return to the home screen
Slide your finger upwards starting from the bottom of the screen to return to the home screen.