The UNLOCK statement removes record locks from a record or all currently locked records in the file. Format - UNLOCK file-name [ RECORD ] [ ALL RECORDS ]