Release lock on Assign

Requested in https://github.com/osTicket/osTicket-1.8/issues/327