debugging: set locks to print their init/destroy call