code: @Override
      public IEntityLock newLock(
              EntityIdentifier entityID, int lockType, String owner, int durationSecs)
              throws LockingException {
          return newLock(entityID.getType(), entityID.getKey(), lockType, owner, durationSecs);
      }
docs: Returns a lock for the entity, lock type and owner if no conflicting locks exist.
  
  @return org.apereo.portal.groups.IEntityLock
  @param entityID org.apereo.portal.EntityIdentifier
  @param lockType int
  @param owner String
  @param durationSecs int
  @exception LockingException