You mean lock it so another user can't use it?
For app, you'll have to use the Parental Controls to allow/disallow users into Applications. But for locking of folders, you should try using an password encrypted disk image to store data in. There's no facility for locking of folders. Maybe a 3rd party application, but so far I've not heard of any that are decent.