You could of only done this as an Admin, So you should know how to undo it as an admin.
The fact that you don`t know tells me your not. So it tells me the file was in fact locked for a reason, maybe by another person, who knows what they are doing. I doubt anyone will tell you. Read up on Admin