Lockpicking is a legal skill, but it is illegal to use that skill to gain entry to a property that you don't own or have permission to access. Engaging in lockpicking without permission can result in criminal charges.