If you're going to verify that the assert is locked/unlocked, you should do more than just verifying that the text on the page is correct. You should also try to visit the asset URL, both as the currently logged in user, and as an anonymous user.