Working on interface.

Added 'unlock' function.