ICYMI shared this a while back
Android settings > wifi network & internet > tap the network you are on > network info > scroll to "privacy" tap it and switch to "randomized MAC"
or
Open the Settings app.
Tap Network & Internet.
Tap Wi-Fi.
Tap the gear icon associated with the wireless connection to be configured.
Tap Advanced.
Tap Privacy.
Tap Use Randomized MAC
Settings may varry depending on the make and model of Android you have BUT as long as you have Android 10+ this setting should be available. That said i have found one device i have that is running droid 10 and does not have this setting