You have to have the lockpick set in your active slot and then use lockpick skill, that's how it works.