Another way to say "We use keys to lock and unlock doors" is "Keys are used to lock and unlock doors."