added Python file locking example