app_lua: use gen_lock_set_t in order to increase parallelism