Officially licensed third-party controllers will work with backward-compatible PS4 games, but not with PS5 games. You can only use it to navigate the PS5 and play backward-compatible PS4 titles on the PS5, but nothing more than that.