effective / efficient
Producing the result versus wasting little.
Effective means it works: it produces the result. Efficient means it works with little waste of time, money, or effort. A plan can be effective and still wasteful.
Examples
Use an effective lock
Use an efficient route
Avoid an efficient lock (If you mean only that the lock works.)