@startuml
skinparam monochrome true
skinparam state {
	hide empty description
}
state LOCKED
state UNLOCKED
state LOCKING


UNLOCKED -down-> LOCKING : LOCK\n(if managed entity\nis "IN_USE")
LOCKING -up-> LOCKED : <i>Managed entity</i>\n <i>is discharged</i>\n <i>from service</i>
LOCKED -left-> UNLOCKED : UNLOCK
UNLOCKED -right-> LOCKED : LOCK\n(if managed entity\nis "NOT_IN_USE")
LOCKING -up-> UNLOCKED : UNLOCK


@enduml