add some missing locks
todos++