Create lock.cpp

Code of Folder Lock Utility for Windows 7.
Folder Lock App can lock and unlock the file in the given destination.
You can lock and unlock the folder from within the parent folder if you create a Right_Click Trigger in your system.
To learn how to create a right click trigger, you can visit my blog http://bhanwarsa.blogspot.in and go for the post about Right Click Menu.