code: func (u *UserMigration) GetLockRepositories() bool {
  	if u == nil || u.LockRepositories == nil {
  		return false
  	}
  	return *u.LockRepositories
  }
docs: // GetLockRepositories returns the LockRepositories field if it's non-nil, zero value otherwise.