This technique works especially for play slower songs.
At first it just takes practice. The more you practice, the more you
can experiment. Learning how to play piano chords is just the
beginning. The rest comes with your creativity.
To continue learning, there are 2 online courses I'd recommend. One is
Rocket
Piano. They teach beginner lessons but they also move onto to
teaching about chords, and the gosple and jazz styles.
The other is
Power Piano Chords. It starts by teaching beginner chords and then moves on to advanced chords and chord progressions.