Yes on most current update. Ok. Just tried this/. Created a simulated switch in ide. Called it kitchen lock. If I say turn kitchen lock on it will turn that switch on. Then in room manager set up I edited the preferences for locked to react to the simulated switch. When it turns on the state in the kitchen room changes to locked, when I turn off it changed to checking, then vacant.
If that helps at all