If you get an Object Lock error in QC ("Object locked by 'username' ") here are the steps to solve it:
1. Go to Site Administration.
2. Search for the corresponding Project.
3. Find the LOCKS table.
4. Execute following script:
DELETE FROM LOCKS WHERE LK_USER = 'username'