There are a couple of situations where files on drives may be locked, which will prevent them from being directly removed. As such, even though you have them in the trash and choose the option to empty the trash, the files will stay around and give an error that the files are locked.