Only if the game is a “free monthly game”, you will not be able to play it once your subscription ends. All other games bought on the PS store (whether at full price or discount or extra ps-plus discount), are yours to keep as long as you login with the same PS ID.