Add a few locks