If you would please elaborate further: What app are you trying to lock, what type of iPad do you have and what iOS version are you running?
There are some things you can do to restrict some apps but I'll tell you right now that you can't actually lock an app on a stock iPad.
Marilyn