You could make them Read-Only or Hidden (or system or archive) by using this code in Command Prompt:
+R = Read-Only
+H = Hidden
+S = System
+A = Archive
attrib +(insert option here) "C:\(file path)"
Then again, that's pretty basic. But what do you mean locking anyway?