EPAM Systems interview question

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