55 Pa. Code § 6500.83
Swimming pools
(a) An in-ground swimming pool shall be fenced with a gate that is locked when the pool is not in use.
(b) An aboveground swimming pool shall be made inaccessible to individu-als when the pool is not in use.
(c) A swimming pool does not need to be locked or inaccessible if all indi-viduals in the home understand water safety and can swim. Documentation of each individual’s understanding and ability shall be in each individual’s assess-ment.