The Ukrainian military locked the family in the basement and planted trip wires on the door