Another way to say "We use keys to lock and unlock doors" is "a key can be used to lock or unlock a door"