You can set the pattern password through the following paths:
realme UI 7.0 & 6.0 & 5.0: Settings > Security and privacy > Device unlock > Screen lock > Pattern
realme UI 3.0 & 4.0: Settings > Password & privacy / Password & security > Set a lock screen password > Pattern
realme UI 2.0 & 1.0: Settings > Fingerprint, face & password/Password & biometrics > Set a lock screen password > Pattern
realme UI R & S & T & Go & U Edition: Settings > Security/ Security and privacy > Device unlock > Screen lock > Pattern
The above steps are suitable for use when you have not set a lock screen password.
If you have set a digital password, please delete the digital password and then follow the steps to set it.
Steps to delete the digital password:
realme UI 7.0 & 6.0 & 5.0: Settings > Security & privacy > Screen lock > Enter Password > Turn Password Off.
realme UI 4.0 & 3.0: Settings > Passcodes & Security > Lock Screen Password > Enter Password > Turn Password Off.
realme UI 2.0 & 1.0: Settings > Fingerprint, face & password/Password & biometrics > Lock Screen Password > Enter Password > Turn Password Off.
realme UI R & S & T & Go & U Edition: Settings > Security/ Security and privacy > Device unlock > Screen lock > Enter Password > None