How can session_write_close() be used in conjunction with session_start() to optimize session handling in PHP scripts?

When using sessions in PHP scripts, it is important to optimize session handling to prevent blocking other requests that also require session access. One way to do this is by calling `session_write_close()` after writing session data to disk to release the session lock, allowing other requests to access the session data. This can be used in conjunction with `session_start()` to ensure that session data is properly saved and the session lock is released.

<?php
session_start();

// Access and modify session data here

session_write_close();

// Continue with script execution
?>