Update lock.pl