Output also lockname if it cannot be acquired