Can you describe more about what you mean by "profile", and what effect that has for you?
If it is part of a firmware lock, that would prevent booting to another partition, and would effectively prevent you from erasing and installing macOS (because you would be prevented from booting to any other drive)
Are you doing that "Disk Utility wipe and OS reinstall" while booted from an external drive, or a USB flash drive?