Using secure lock in openhab2

No.

See this thread -: