Welcome to Android Central! That phone and most modern devices like it don't give you that option. You either have to remember your password or do a hardware key factory reset: https://www.hardreset.info/devices/huawei/huawei-nexus-6p-international/hardreset/first-method/. This will require you to enter the Google account and password associated with the phone, so assuming you didn't get this phone from someone else, you should remember that.