The present invention relates to Spirocyclic Pyridotriazine Derivatives of Formula (I) and pharmaceutically acceptable salts thereof, wherein A, B, X, Y, R1, R2 and R10 are as defined herein. The present invention also relates to compositions comprising at least one Spirocyclic Pyridotriazine Derivative, and methods of using the Spirocyclic Pyridotriazine Derivatives for treating or preventing HIV infection in a subject.