Default cleanest install route

just got an old droid 1 and have been messing with cm and miui, and i want to wipe everthing and start all over. possibly do a dual boot, what is the cleanest install route? would it be factory reset, delete entire SD card, then flash? also how do i figure out if my bootloader is unlocked? thanks.

bw

edit: did a search out of this forum, found a ton of threads my bad.