fix: changed lock() to unlock()