removed the async stuff from main and fixed method Lock has wrong number
of ins: 1 issue