Can the Call and End keys be used in my N97 device to answer a call when the device is locked?

The answering keys in Nokia N97 and N97 mini are not working when the device is in locked state, you must unlock the device or swipe the Answer arrow on the touch screen to answer the call.