IMO it would make sense to translate the different lock types into a string so that they are more self explaining than 0, 1, 2 etc