Disk drives used to have a write-enable jumper on them. No more.
Drives? I havent seen one yet. Floppies yes, but just like SD cards its just a plastic piece being read by controller GPIO and a mere suggestion to the hardware.
There are forensic Write blockers for drives tho starting at around $200 for SATA/IDE solution.
IIRC, those were more of a suggestion from the drive to prevent writing. It didn’t actually physically prevent it from being overwritten.