diff --git a/core/modules/forum/forum.admin.inc b/core/modules/forum/forum.admin.inc
index 55a4238..4ff5bfa 100644
--- a/core/modules/forum/forum.admin.inc
+++ b/core/modules/forum/forum.admin.inc
@@ -5,9 +5,10 @@
  * Administrative page callbacks for the forum module.
  */
 function forum_form_main($type, $edit = array()) {
+
   $edit = (array) $edit;
   if ((isset($_POST['op']) && $_POST['op'] == t('Delete')) || !empty($_POST['confirm'])) {
-    return drupal_get_form('forum_confirm_delete', $edit['tid']);
+    return drupal_get_form('forum_confirm_delete', $edit['tid']);  
   }
   switch ($type) {
     case 'forum':
@@ -16,6 +17,12 @@ function forum_form_main($type, $edit = array()) {
     case 'container':
       return drupal_get_form('forum_form_container', $edit);
       break;
+    case 'lock_forum':
+      return drupal_get_form('forum_form_lock', $edit);
+      break;
+    case 'lock_container':
+      return drupal_get_form('forum_form_lock', $edit);
+      break;
   }
 }
 
@@ -249,11 +256,16 @@ function forum_overview($form, &$form_state) {
       if (in_array($form[$key]['#term']['tid'], variable_get('forum_containers', array()))) {
         $form[$key]['operations']['#links']['edit']['title'] = t('edit container');
         $form[$key]['operations']['#links']['edit']['href'] = 'admin/structure/forum/edit/container/' . $term['tid'];
+        $form[$key]['operations']['#links']['lock']['title'] = t('Lock container');
+        $form[$key]['operations']['#links']['lock']['href'] = 'admin/structure/forum/lock/container/' . $term['tid'];
       }
       else {
         $form[$key]['operations']['#links']['edit']['title'] = t('edit forum');
         $form[$key]['operations']['#links']['edit']['href'] = 'admin/structure/forum/edit/forum/' . $term['tid'];
+        $form[$key]['operations']['#links']['lock']['title'] = t('Lock forum');
+        $form[$key]['operations']['#links']['lock']['href'] = 'admin/structure/forum/lock/forum/' . $term['tid'];
       }
+        
     }
   }
 
@@ -268,6 +280,44 @@ function forum_overview($form, &$form_state) {
 }
 
 /**
+ * Returns a confirmation page for block a forum taxonomy term.
+ *
+ * @param $tid ID of the term to be blocked.
+ */
+function forum_form_lock($form, &$form_state, $forum = array()) {
+  //$form, &$form_state, $edit = array()
+  drupal_set_title(t('Are you sure you want to lock the forum %name?', array('%name' => $forum['name'])), PASS_THROUGH);
+  $form['tid'] = array('#type' => 'value', '#value' => $forum['tid']);
+  $form['name'] = array('#type' => 'value', '#value' => $forum['name']);
+  $form['reason'] = array('#type' => 'textarea',
+    '#title' => t('Reason'),
+    '#description' => t('Describe why reason block this forum.'),
+    '#required' => TRUE,
+  );
+  $form['actions']['submit'] = array(
+    '#type' => 'submit',
+    '#value' => t('Lock')
+  );
+  $options = array('path' => 'admin/structure/forum/');
+  $form['actions']['cancel'] = array(
+    '#type' => 'link',
+    '#title' => t('Cancel'),
+    '#href' => $options['path'],
+    '#options' => $options,
+  );
+  return $form;
+}
+
+
+/**
+ * Implementation of Callback form_ID_submit()
+ */
+ function forum_form_lock_submit($form, $form_state) {
+  //Here Code for submit
+  drupal_goto('admin/structure/forum/');
+ }
+ 
+/**
  * Returns a select box for available parent terms
  *
  * @param $tid ID of the term which is being added or edited
diff --git a/core/modules/forum/forum.install b/core/modules/forum/forum.install
index 946f9c4..d75aa25 100644
--- a/core/modules/forum/forum.install
+++ b/core/modules/forum/forum.install
@@ -236,6 +236,38 @@ function forum_schema() {
     ),
   );
 
+$schema['forum_locked'] = array(
+    'description' => 'Stores the lock forums.',
+    'fields' => array(
+      'term_id' => array(
+        'type' => 'int',
+        'unsigned' => TRUE,
+        'not null' => TRUE,
+        'default' => 0,
+        'description' => 'The {taxonomy_term_data}.tid of the lock forum.',
+      ),
+      'locked' => array(
+        'type' => 'int',
+        'unsigned' => TRUE,
+        'not null' => TRUE,
+        'default' => 0,
+        'description' => 'A Unix timestamp indicating when this forum was locked.',
+      ),
+      'user_id' => array(
+        'description' => 'The {users}.uid that lock this forum.',
+        'type' => 'int',
+        'not null' => TRUE,
+        'default' => 0,
+      ),
+      'reason' => array(
+        'description' => 'A brief description of why this forum was locked.',
+        'type' => 'text',
+        'not null' => TRUE,
+        'size' => 'medium',
+      ),
+    ),
+    'primary key' => array('term_id'),
+  );
 
   return $schema;
 }
diff --git a/core/modules/forum/forum.module b/core/modules/forum/forum.module
index 7175cb5..39407dc 100644
--- a/core/modules/forum/forum.module
+++ b/core/modules/forum/forum.module
@@ -155,6 +155,21 @@ function forum_menu() {
     'access arguments' => array('administer forums'),
     'file' => 'forum.admin.inc',
   );
+  $items['admin/structure/forum/lock/forum/%taxonomy_term'] = array(
+    'title' => 'Inactive forum',
+    'page callback' => 'forum_form_main',
+    'page arguments' => array('lock_forum', 5),
+    'access arguments' => array('administer forums'),
+    'file' => 'forum.admin.inc',
+  );
+  $items['admin/structure/forum/lock/container/%taxonomy_term'] = array(
+    'title' => 'Inactive forum',
+    'page callback' => 'forum_form_main',
+    'page arguments' => array('lock_container', 5),
+    'access arguments' => array('administer forums'),
+    'file' => 'forum.admin.inc',
+  );
+
   return $items;
 }
 
