You may be logging in to QuickBooks as a standard user. Please make sure that you are set up as a company admin or the master admin to close the books.
Besides, to ensure the book is closable, you have to check the Close the books box and enter the password in the Accounting section under Advanced settings.