Go to Settings, then to Fingerprint, Face, and Password, then to Security, then to Screen lock, and then select none to turn it off.