'Creates a new UnitState with the given properties'

def __init__(self, is_released, publish_state, is_locked):

    self.is_released = is_released
    self.publish_state = publish_state
    self.is_locked = is_locked
