Most modchips do remove the drive lock check, though error 05 means that this one hasn't.
(... The modchip is
turned on, yes?)
To lock the HDD you'll need a copy of the HDD key, stored in the system EEPROM
. Assuming you don't already have a backup of that, you'll need an EEPROM reader to get it.