[lock-unlock] improved formating