We consider mathematical models describing dynamics of an elastic beam which is clamped at its left end to a vibrating support and which can move freely at its right end between two rigid obstacles. We model the contact with Signorini's complementary conditions between the displacement and the shear stress. For this infinite dimensional contact problem, we propose a family of fully discretized approximations and their convergence is proved. Moreover some examples of implementation are presented. The results obtained here are also valid in the case of a beam oscillating between two longitudinal rigid obstacles.