The other day i moved a locked file onto the trash and i couldn't delete it. I did some research and found out in order to delete it completely from the trash. I had to do this >

Press > Option + Command + Shift + Delete and all the files were deleted immediately.

Hope this helps.