Hello
If the harddrives are 2.5" laptop drives then there is no method to use those drives. That is an anti-theft feature and is by design. That may be why they were given to you.
If they are desktop drives then read below. This spec would apply to other brands as well.
Question
Do Western Digital EIDE drives support hard drive locking?
Answer
Current Western Digital ATA/100 EIDE and SATA drives support the ATA/ATAPI-6 specification, including the security mode settings. Some vendors use the security feature to ensure the usage of only specific drives in their system. The drives can also be locked by a third party utility. When a drive is locked using the ATA security mode settings, the same utility and the original code used to lock the drive are necessary to unlock the drive. If your drive has been locked, we recommend that you contact your system vendor or the manufacturer of the software utility that was used to lock the drive for assistance.