Tony found a treasure box, but it was closed with a number lock. To open the box, we need to enter the correct answer as a key.
What is the function of the underlined preposition? We opened the lock with the key we found on the floor.