Lock the thread so it can take its argument