We study dynamics and bifurcations of three-dimensional diffeomorphisms with nontransversal heteroclinic cycles. We show that bifurcations under consideration lead to the birth of Lorenz-like attractors. They can be viewed as attractors in the Poincare map for periodically perturbed classical Lorenz attractors and hence they can allow for the existence of homoclinic tangencies and wild hyperbolic sets.