While routine maintenance was being performed - with no one in the conveyance - the brakes locked up bringing the hoist to a stop. Operators could not immediately reset the brakes and they began troubleshooting. The brakes were able to be released and the conveyance was put back into service.