Update devices.php

fixed a missed </div> for when seriallock is enabled