WordPress at a glance
filter is not described

show_post_locked_dialog filter-hook . WP 3.6.0

Filters whether to show the post locked dialog.

Returning a falsey value to the filter will short-circuit displaying the dialog.

Usage

add_filter( 'show_post_locked_dialog', 'filter_function_name_5080', 10, 3 );
function filter_function_name_5080( $display, $post, $user ){
	// filter...

	return $display;
}
$display(true/false)
Whether to display the dialog.
Default: true
$post(WP_Post)
Post object.
$user(WP_User/true/false)
WP_User object on success, false otherwise.

Where the hook is called

_admin_notice_post_locked()
show_post_locked_dialog
wp-admin/includes/post.php 1561
if ( ! apply_filters( 'show_post_locked_dialog', true, $post, $user ) )
wp-admin/edit-form-blocks.php 233
if ( apply_filters( 'show_post_locked_dialog', true, $post, $user_id ) ) {

Where the hook is used (in WP core)

Does not used.