@lock
Description:
Locks the device so we can use it.
Parameters:
| this |
a Sensor instance. |
| cancellable |
a Cancellable, or null |
| callback |
the function to run on completion |
| user_data |
the data to pass to |