pub async fn lock_task( db: &'static Database, task_id: &Ulid, worker_id: &str, ) -> Result<(), LibsqlError>
Lock a task for processing