Please describe in detail the process you are using to attempt the delete, and precisely when it's failing, and the precise message. Chances are, though, that it's not that the files are locked, but that the permissions are preventing you from proceeding.
tooki
P.S. DLL=Windows-ese. On the Mac, we call them Shared Libraries.