If you have a valid key, you can use it to unlock even without an internet connection.
If you've been offline for too long, the app needs to verify the validity of your keys for security reasons. This happens automatically as soon as you’re connected to the internet, after which you can use Parakey offline again.