NTT DATA Interview Question

what is a deadlock and its prevention techniques?