Added locks in BookStoreBook