This paper develops a framework to include Dirichlet boundary conditions on a subset of
the boundary which depends on time. In this model, the boundary conditions are weakly
enforced with the help of a Lagrange multiplier method. In order to avoid that the ansatz
space of the Lagrange multiplier depends on time, a bi-Lipschitz transformation, which
maps a fixed interval onto the Dirichlet boundary, is introduced. An inf-sup condition as
well as existence results are presented for a class of second order initial-boundary value
problems. For the semi-discretization in space, a finite element scheme is presented which
satisfies a discrete stability condition. Because of the saddle point structure of the
underlying PDE, the resulting system is a DAE of index 3.