Fina Technologies interview question

write a program to create dead lock?