code: public static String buildLockDialog(CmsDialog dialog) throws CmsException {
  
          return buildLockDialog(dialog, null, null, 2000, false);
      }
docs: Returns the html code to build the lock dialog.<p>
  
  @return html code
  
  @throws CmsException if something goes wrong