Lock items or collections in the secret service.
The secret service may not be able to lock items individually, and may lock an entire collection instead.
If this is null, then [func@Service.get_sync] will be called to get the default [class@Service] proxy.
This method may block indefinitely and should not be used in user interface threads. The secret service may prompt the user. [ method@Service.prompt] will be used to handle any prompts that show up.
| this |
the secret service |
| objects |
the items or collections to lock |
| cancellable |
optional cancellation object |
| locked |
location to place list of items or collections that were locked |
|
the number of items or collections that were locked |