If you mean to lock a folder from having a user read or write to the contents...

If you mean to lock a folder from having a user read or write to the contents you should remove the read or write permissions from the specific users that you want to be effected, read the tutorial at http://www.linux.com/learn/tutorials/309527-understanding-linux-file-per... for instructions on modifying and understanding file permissions.

Click Here!