Lock selenium-webdriver