FlashBack simply records your desktop. When you lock your PC, your desktop is suspended so there is nothing for FlashBack to record.

Similarly, if you PC goes to sleep or if the screen saver activates, your desktop is suspended. You can prevent either ofthese from happening by enabling the 'Keep PC awake and disable the screensavers when recording' option in the Misc tab of the Recorder's Settings.