display log error when lock fails