If the build operation completes the recovery process and no rollforward operation is performed, releasing the locks is permissible.
If a rollforward is required, do it after the build operation using the guidelines described in Recovering Tables and Databases.
To learn about the rollforward operation, see ROLLFORWARD.