locking the inter