EPAM Systems Interview Question

What is Dead Lock situation? How to avoid dead loack situation?