Python multiprocessing lock