Enable protected dynamic interface control

Changes to Enable protected dynamic interface control.

Added support to
1. Get the engine lock state.
2. Handle engine lock state event.
3. Store all the sessions when the engine is locked.
4. Restore all the sessions when the engine unlock event is received.

Change-Id: I70e591a6dca2231fb762ef199d0d34f852198116
CRs-fixed: 3130222
12 files changed