Gaining insight into tribological systems is crucial for optimizing efficiency and prolonging operational lifespans in technical systems. Experimental investigations are time-consuming and costly, especially for reciprocating seals in fluid power systems. Elastohydrodynamic lubrication (EHL) simulations offer an alternative but demand significant computational resources. Physics-informed neural networks (PINNs) provide a promising solution using physics-based approaches to solve partial differential equations. While PINNs have successfully modeled hydrodynamics with stationary cavitation, they have yet to address transient cavitation with dynamic geometry changes. This contribution applies a PINN framework to predict pressure build-up and transient cavitation in sealing contacts with dynamic geometry changes. The results demonstrate the potential of PINNs for modeling tribological systems and highlight their significance in enhancing computational efficiency.