Rewrite the given sentence into a different sentence with the same meaning.
She locked the door
The door was locked by her.
Complete the following task based on the instruction and optional input provided.### Instruction:
Rewrite the given sentence into a different sentence with the same meaning.

### Input:
She locked the door

### Output:
The door was locked by her.