> For the complete documentation index, see [llms.txt](https://docs.linkalock.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.linkalock.com/docs/leo-2-leo-2-pro/guides/lock-unlock-operation.md).

# Lock / Unlock Operation

Locking and unlocking the LEO 2 can be achieved in a variety of ways:&#x20;

* Lock/unlock from mobile apps. These includes the LINKA retail app, [LINKA GO, Operator App](https://docs.linkalock.com/docs/v/fleets-platform/) or the [Mobile SDK](https://docs.linkalock.com/docs/v/api-docs/reference/api-reference). The mobile phone must be within bluetooth range of the lock. The bluetooth range of the LEO 2 is up to 10m (30 ft).&#x20;
* Lock/unlock remotely from [Fleetview](https://docs.linkalock.com/docs/v/fleets-platform/)®. LEO 2 must be online and have an active cellular connection. Configure the [power modes](https://docs.linkalock.com/docs/v/leo-2-leo-2-pro/cellular-connectivity-and-gps-tracking/power-modes) to ensure lock can stay online.&#x20;
* [*Quick lock*](https://docs.linkalock.com/docs/v/leo-2-leo-2-pro/guides/lock-unlock-operation#quick-lock) by holding the Cap Sense for 1.5 seconds&#x20;
* [Phoneless unlock](https://docs.linkalock.com/docs/v/leo-2-leo-2-pro/guides/lock-unlock-operation#phoneless-access-code-pac) with 4 digit Access Code \*\***Only for Personal Use**
* Lock/unlock with [SmartMotion Key](https://docs.linkalock.com/docs/v/leo-2-leo-2-pro/accessories/linka-smartmotion-key)
* Automatic locking when attaching a [TetherSense](https://docs.linkalock.com/docs/v/leo-2-leo-2-pro/accessories/tethersense)® security chain&#x20;
* [Auto-lock](https://docs.linkalock.com/docs/v/leo-2-leo-2-pro/guides/lock-unlock-operation#autolock) functionality&#x20;

## Lock States

| States                            | Behavior                                                                                                                                                                                                                 |
| --------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Unlocked                          | Device is unlocked. Optional single beep tone when activated.                                                                                                                                                            |
| Locked                            | Once locked, the device will make 3 consecutive beeps.                                                                                                                                                                   |
| Locked + Tether                   | With a TetherSense chain attached and the Bike/Lock locked.                                                                                                                                                              |
| Unlocking/Locking                 | <p>Unlocking and locking will be displayed momentarily when the</p><p>device is changing to unlocked or locked.</p>                                                                                                      |
| Stall                             | Displayed if the locking shackle encounters an obstruction while locking. In this state, the locking shackle will automatically retract for safety reasons.                                                              |
| Unlocked + Tether still connected | An Alert to Rider. TetherSense chain must be fully detached before using the bike. The device will emit a short beep every 10 seconds until the TetherSense chain is fully detached or until the device has been locked. |

## Quick Lock

Quick lock allows the LEO 2 to be locked even when a phone is not present. To lock the device, simply hold the Cap Sense button for 1.5 seconds.&#x20;

## Autolock

If enabled, the Locks will automatically self-lock after a set period, if no movement is detected. The auto-lock configuration can be set on Fleetview:&#x20;

Settings > System Settings > Leo and IoT config > Auto Lock > \[ value]&#x20;

Note: By default, auto-lock functionality is disabled for LINKA GO usage.

## Phoneless Access Code (PAC)

Phoneless Access codes allow Users to Unlock a Bike without a Smart Phone, should that be necessary. To enter an access code, press and hold the Multifunction Button until the LED turns purple, then enter the 4-digit access number by pressing the button that many times for each digit. For example: the number 4 will require four presses of the button.&#x20;

{% hint style="info" %}
The PAC is applicable only for personal use, and is not compatible with LINKA Fleets
{% endhint %}

To enter a phoneless access code and open a Lock:

1. Hold down the Control Button for 4 seconds (LED turns purple).
2. Enter the first digit by pressing the Multifunction Button that number of times corresponding to the first digit. (e.g. 4 presses for the number 4)
3. After each number is entered, wait 2 seconds before entering the next number. The LED will change color for each number to be entered.
4. Purple- First Digit
5. Red - Second Digit
6. Yellow - Third Digit
7. Green - Fourth Digit Note: If the User fails to enter the values in time, or there is no activity, the lock will exit the phoneless access code input mode after 6 seconds.&#x20;

**Setting Up a Phoneless Access Code**&#x20;

If enabled, locks will require a Phoneless Access Code be created during the Setup and pairing process in the retail app.

{% embed url="<https://youtu.be/haMfSkYXmKQ?t=275>" %}

## Stall and Spoke Evasion&#x20;

The locking shackle for the LEO 2 is specially designed to allow for tolerance when the locking ring hits a spoke, and adjust its position to move around. In the event that the locking ring is unable to move around the spoke, it will trigger a "Stall" and the locking shackle will retract.&#x20;

## Motion Sensor to prevent locking

LEO 2 is equipped with an accelerometer to ensure the device is stationary before locking can begin.&#x20;
