Update lock.php