Speaking hypothetically, if a person wished to secure their data drives and a "writeblocker" device was of concern, could a piece of encryption software be crafted to write to the drive in question with a failure state locking the drive? Something like reading the device ID of the host PC and using it as part of the encryption key? Could this concept also be used to "hide" partitions of a drive with malicious code hidden inside, with the hidden partition only activating if the drive isn't blocked?
I was stumbling down a rabbit hole after looking into sandboxing a usb drive and didn't see anything specific about attempts to secure from "writeblocker" type devices.