def METHOD_NAME(self, featuresIds):
    """
    Lock features
    :param featuresIds: list Features layer ids to lock
    """
    # first get initial features locked
    self.getInitialFeatureLockedIds()
    # find feature to lock
    self.newFeatureToLockIds = list(
        set(featuresIds) - set(self.initialFeatureLockedIds))
    potentialLockIds = []
    lockModels = []
    for fid in self.newFeatureToLockIds:
        featureLock = self.lockFeature(fid)
        potentialLockIds.append(featureLock.feature_lock_id)
        lockModels.append(featureLock)
    LockModel.objects.bulk_create(lockModels)
    locks = LockModel.objects.filter(feature_lock_id__in=potentialLockIds)
    lockedFeatures = []
    for lock in locks:
        lockedFeatures.append(self.modelLock2dict(lock))
    if getattr(self, 'user') and len(self.getInitialUserFeatureLocked):
        for f in self.getInitialUserFeatureLocked:
            if f.feature_id in featuresIds:
                lockedFeatures.append(self.modelLock2dict(f))
    return lockedFeatures