Without a wake lock, the device usually goes to sleep a few seconds (30-60, usually) after the screen is locked.
During this period, only the radios are kept on low power to receive calls, SMS and push notifications. Everything else, like your app, will be paused.
If you want to continue working with the screen off, you should obtain a wakelock.