Each lock is different and requires different tools and skill levels. Without more details, only a vague answer can be given:
Essentially you would use the bobby pin to place the pins into the correct position, mimicking the purpose of the key, until all the parts lined up and it freed the lock for movement.
Chat with our AI personalities