I love this guide, and it works perfectly *except* for this bit. This part is a little misleading and incorrect. You copy ONLY the beta, do the local update, etc up to the part of fastboot oem unlock, because this step will wipe internal storage so if you copied both as your guide suggests, the downgrade will be gone after rebooting from the bootloader unlock.
Needs to be: copy beta->local upgrade->oem unlock enabled in settings->reboot to bootloader->fastboot oem unlock->reboot into beta again->copy downgrade->local upgrade the downgrade.
Otherwise this guide is absolute perfection. I know I'm nitpicking, but it could make newbies think they did something wrong when they follow the guide and then go "wait! the file isn't there!"
Well, if you're going to nitpick, so can I!
It's actually possible to change your bootloader status without wiping the phone. If you intentionally screw up the AVB metadata (vbmeta partition) so that the phone no longer boots, you can lock and unlock the bootloader as many times as you want without wiping data.
Of course, it's not very useful to have a locked phone that can't boot. So using EDL mode (and a proper Firehose programmer outside of MSM Download Tool), I theorize that it's possible to fix the phone again to make it boot once the bootloader is successfully locked.
Likewise, it should be comparatively easy to use EDL to screw up the vbmeta of a locked phone somehow (after enabling OEM unlocking), and then just fastboot to unlock the bootloader and flash a stock one after.
But yes, otherwise you are correct. Almost nobody here would be able to pull that off, and I did miss the wipe when writing that portion of the guide. I'll correct it asap.
Edit: OP has been updated.