GetCurrentProfile added.
Getting a profile Lockmode added.