That is a false awakening. It happens sometimes when you go lucid. In my experiences they are very real and can be annoying if you don't realise you are still sleeping.
You can use it to your advantage by doing a reality check each time you wake up, this will help you notice you are dreaming if you have another FA.

Hope that helps.