I always recommend Everylock for this. But it's not free.
The only free way I know of to lock your BlackBerry is to use the built in device lock (more secure than anything else) but that locks everything.
Posted from my CrackBerry at wapforums.crackberry.com