I'm not the author. Denton Gentry wrote the original Python code to handle ATA commands. Anyway it's unfinished and doesn't really lock the hdd. It's a proof of concept to do the ATA and crypto with Python.